curl version 7.18.0 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    curl  most recent diff


      View the most recent changes for the curl port at: curl.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for curl.
      The raw portfile for curl 7.18.0 is located here:
      http://curl.darwinports.com/dports/net/curl/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/curl
      Google
      Web Darwinports.com



      # $Id: Portfile 33602 2008-01-31 09:55:06Z ryandesign macports.org $

      PortSystem 1.0
      Name: curl
      Version: 7.18.0
      Category: net www
      Maintainers: ryandesign
      Description: Tool for transferring files with URL syntax
      Long Description: curl is a client to get documents/files from servers, using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity.
      Homepage: http://curl.haxx.se/
      Platform: darwin freebsd
      master_sites http://curl.haxx.se/download/ ftp://ftp.sunet.se/pub/www/utilities/curl/ http://curl.sourceforge.net/download/ http://cool.haxx.se/curl/ ftp://gd.tuwien.ac.at/utils/archivers/curl/ http://gd.tuwien.ac.at/utils/archivers/curl/ http://www.execve.net/curl/ sourceforge
      checksums md5 3e50dd887d6a354be312d874e1d3426c sha1 f561a6a1f285c22d1f6a54b4dfa19b6cb9362c2a rmd160 f25ec844e7ef6221719439b3214fd3c3a42f5604

      use_bzip2 yes

      configure.args --disable-ipv6 --without-libidn --without-libssh2 --without-ssl --disable-ldap --with-zlib=${prefix}
      configure.env PKG_CONFIG_PATH=${prefix}

      depends_build port:pkgconfig
      depends_lib port:zlib

      test.run yes
      test.target test-full

      set docdir ${prefix}/share/doc/${name}-${version}

      post-destroot {
      if {[variant_isset universal]} {
      reinplace "s|${configure.universal_ldflags}||" ${destroot}${prefix}/lib/pkgconfig/libcurl.pc
      }

      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING README RELEASE-NOTES ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath}/docs BUGS CONTRIBUTE FAQ FEATURES HISTORY INTERNALS KNOWN_BUGS MANUAL RESOURCES THANKS TODO VERSIONS ${destroot}${docdir}
      }

      platform darwin 6 {
      depends_lib-append lib:libdl:dlcompat
      }

      Variant: ssl {
      depends_lib-append port:openssl
      configure.args-delete --without-ssl
      }

      Variant: ipv6 {
      configure.args-delete --disable-ipv6
      configure.args-append --enable-ipv6
      }

      Variant: ares conflicts ipv6 description {Add support for resolving names asynchronously} {
      depends_lib-append lib:libcares:c-ares
      configure.args-append --enable-ares=${prefix}
      }

      Variant: idn description {Add support for internationalized domain names} {
      depends_lib-append port:libidn
      configure.args-delete --without-libidn
      }

      Variant: spnego description {Enable SPNEGO authentication support} {
      # kind of broken?
      depends_lib-append port:fbopenssl
      configure.args-append --with-spnego=${prefix}
      }

      Variant: gnutls conflicts ssl {
      depends_lib-append port:gnutls
      configure.args-append --with-gnutls
      }

      Variant: gss {
      depends_lib-append port:gss
      configure.args-append --with-gssapi=${prefix}
      }

      Variant: openldap {
      depends_lib-append port:openldap
      configure.args-delete --disable-ldap
      }

      Variant: doc {
      post-destroot {
      xinstall -d ${destroot}${docdir}/html/libcurl
      xinstall -m 0644 -W ${worksrcpath}/docs TheArtOfHttpScripting ${destroot}${docdir}/html
      eval xinstall -m 0644 [glob ${worksrcpath}/docs/*.html] ${destroot}${docdir}/html
      eval xinstall -m 0644 [glob ${worksrcpath}/docs/libcurl/*.html] ${destroot}${docdir}/html/libcurl

      xinstall -d ${destroot}${docdir}/pdf/libcurl
      xinstall -m 0644 -W ${worksrcpath}/docs curl-config.pdf curl.pdf ${destroot}${docdir}/pdf
      eval xinstall -m 0644 [glob ${worksrcpath}/docs/libcurl/*.pdf] ${destroot}${docdir}/pdf/libcurl
      }
      }

      livecheck.check freshmeat


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/curl
      % sudo port install curl
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching curl
      ---> Verifying checksum for curl
      ---> Extracting curl
      ---> Configuring curl
      ---> Building curl with target all
      ---> Staging curl into destroot
      ---> Installing curl
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using curl with these commands:
      %  man curl
      % apropos curl
      % which curl
      % locate curl

     Where to find more information:

    Darwin Ports



    image test