# $Id$ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup archcheck 1.0 name curl # keep the version in sync with the curl-ca-bundle port version 7.19.7 revision 1 categories net www maintainers ryandesign license curl homepage http://curl.haxx.se/ platforms darwin freebsd use_bzip2 yes use_parallel_build yes 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. # keep the master_sites in sync with the curl-ca-bundle port 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/ \ http://www.execve.net/curl/ checksums md5 79a8fbb2eed5464b97bdf94bee109380 \ sha1 c306ebf0f65fb90df3c9c9a12fb04fb77cc29e2c \ rmd160 b170b24af3a6d3fc3357e90fc7ae5ef34d722fb4 configure.args --enable-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 archcheck.files lib/libz.dylib test.run yes test.target test-full post-build { if {[variant_isset universal]} { foreach arch ${universal_archs} { reinplace "s|[muniversal_get_arch_flag ${arch}]||" \ ${worksrcpath}-${arch}/curl-config \ ${worksrcpath}-${arch}/libcurl.pc } } } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir}/html/libcurl ${destroot}${docdir}/pdf/libcurl 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 \ TheArtOfHttpScripting \ VERSIONS \ ${destroot}${docdir} eval xinstall -m 0644 [glob ${worksrcpath}/docs/*.html] ${destroot}${docdir}/html eval xinstall -m 0644 [glob ${worksrcpath}/docs/libcurl/*.html] ${destroot}${docdir}/html/libcurl eval xinstall -m 0644 [glob ${worksrcpath}/docs/*.pdf] ${destroot}${docdir}/pdf eval xinstall -m 0644 [glob ${worksrcpath}/docs/libcurl/*.pdf] ${destroot}${docdir}/pdf/libcurl } if {![variant_isset gnutls]} { default_variants +ssl } variant ssl { depends_lib-append port:openssl \ port:curl-ca-bundle archcheck.files-append lib/libssl.dylib configure.args-append --with-ca-bundle=${prefix}/share/curl/curl-ca-bundle.crt configure.args-delete --without-ssl } variant ares description {Add support for resolving names asynchronously} { depends_lib-append port:c-ares archcheck.files-append lib/libcares.dylib configure.args-append --enable-ares=${prefix} } variant idn description {Add support for internationalized domain names} { depends_lib-append port:libidn archcheck.files-append lib/libidn.dylib configure.args-delete --without-libidn } variant spnego description {Enable SPNEGO authentication support} { # kind of broken? depends_lib-append port:fbopenssl archcheck.files-append lib/libfbopenssl.dylib configure.args-append --with-spnego=${prefix} } variant gnutls conflicts ssl { depends_lib-append port:gnutls archcheck.files-append lib/libgnutls.dylib configure.args-append --with-gnutls } variant gss { configure.args-append --with-gssapi } variant openldap { depends_lib-append port:openldap archcheck.files-append lib/libldap.dylib configure.args-delete --disable-ldap } variant sftp_scp description {Add SFTP/SCP support via libssh2} { depends_lib-append port:libssh2 archcheck.files-append lib/libssh2.dylib configure.args-delete --without-libssh2 } livecheck.type freshmeat livecheck.regex (?i)