15 | | master_sites http://curl.haxx.se/download/ \ |
16 | | ftp://ftp.sunet.se/pub/www/utilities/curl/ \ |
17 | | http://curl.sourceforge.net/download/ \ |
18 | | http://cool.haxx.se/curl/ \ |
19 | | ftp://gd.tuwien.ac.at/utils/archivers/curl/ \ |
20 | | http://gd.tuwien.ac.at/utils/archivers/curl/ \ |
21 | | http://www.execve.net/curl/ |
22 | | checksums md5 acdab0b0467c55e10ed02d2afed80575 \ |
23 | | sha1 645f87f63d29f71dced74869450d52f84a75c2b6 \ |
24 | | rmd160 8251efba8f4bde512b7cf68ad0acb5efb4302d9b |
| 15 | master_sites ${homepage}download/ \ |
| 16 | ftp://ftp.sunet.se/pub/www/utilities/${name}/ \ |
| 17 | http://cool.haxx.se/${name}/ \ |
| 18 | ftp://gd.tuwien.ac.at/utils/archivers/${name}/ \ |
| 19 | http://gd.tuwien.ac.at/utils/archivers/${name}/ \ |
| 20 | http://www.execve.net/${name}/ \ |
| 21 | sourceforge |
| 22 | checksums md5 37a1de15c4300ca9413d39d2bcea9b36 \ |
| 23 | sha1 b23d35b5af7b75e53c6632cd4c9d0cb0c08cafe5 \ |
| 24 | rmd160 28edfab5659d410bf00725a0ac7228583fc171b6 |
| 78 | |
| 79 | variant ssl { |
| 80 | depends_lib-append port:openssl |
| 81 | configure.args-delete --without-ssl |
| 82 | } |
| 83 | |
| 84 | variant gnutls conflicts ssl { |
| 85 | depends_lib-append port:gnutls |
| 86 | configure.args-append --with-gnutls |
| 87 | } |
| 88 | |
| 89 | variant gss { |
| 90 | depends_lib-append port:gss |
| 91 | configure.args-append --with-gssapi=${prefix} |
| 92 | } |
| 93 | |
| 94 | variant openldap { |
| 95 | depends_lib-append port:openldap |
| 96 | configure.args-delete --disable-ldap |
| 97 | } |
| 98 | |
| 99 | variant doc { |
| 100 | post-destroot { |
| 101 | xinstall -m 0755 -d ${destroot}${docdir}/html/libcurl |
| 102 | xinstall -m 0644 -W ${worksrcpath}/docs TheArtOfHttpScripting ${destroot}${docdir}/html |
| 103 | eval xinstall -m 0644 [glob ${worksrcpath}/docs/*.html] ${destroot}${docdir}/html |
| 104 | eval xinstall -m 0644 [glob ${worksrcpath}/docs/libcurl/*.html] \ |
| 105 | ${destroot}${docdir}/html/libcurl |
| 106 | |
| 107 | xinstall -m 0755 -d ${destroot}${docdir}/pdf/libcurl |
| 108 | xinstall -m 0644 -W ${worksrcpath}/docs curl-config.pdf curl.pdf ${destroot}${docdir}/pdf |
| 109 | eval xinstall -m 0644 [glob ${worksrcpath}/docs/libcurl/*.pdf] ${destroot}${docdir}/pdf/libcurl |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | livecheck.check freshmeat |