Ticket #32304: Portfile.patch
File Portfile.patch, 2.0 KB (added by florian@…, 13 years ago) |
---|
-
/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/openconnect/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name openconnect 7 version 3.1 37 version 3.15 8 8 categories net 9 9 platforms darwin 10 10 maintainers nomaintainer … … 18 18 19 19 homepage http://www.infradead.org/openconnect/ 20 20 21 depends_build port:pkgconfig \ 22 port:intltool 21 depends_build port:pkgconfig 23 22 24 23 depends_lib port:libxml2 \ 25 24 port:zlib \ … … 27 26 port:tuntaposx \ 28 27 port:libproxy 29 28 29 configure.args --disable-nls 30 30 31 master_sites ftp://ftp.infradead.org/pub/openconnect/ 31 32 32 33 # md5 is needed for http master_site below 33 checksums md5 4364a779bfce66de243f39eeb7a39c1f\34 rmd160 465e73dd97ee1a6169322a56d34ed6a9594c20f3\35 sha256 da4bc5161ea22c5f5cf848818d335aca34dbb9c65b71e08e156c10a073dc44ca34 checksums md5 94245f4bac42a288100becab0b4ca29a \ 35 rmd160 2219367eb44de3257900876631eb3febb90a5037 \ 36 sha256 b533083f47643621ff4decb293300ce49339d6b3ff3c21b75f5035d6df5edcc2 36 37 37 38 foreach {type checksum} ${checksums} { 38 39 if {${type} == "md5"} { … … 40 41 } 41 42 } 42 43 43 # Undefined symbols: _libintl_setlocale, _libintl_dgettext44 configure.args-append --disable-nls45 46 44 post-destroot { 47 45 set docdir ${destroot}${prefix}/share/doc/${name} 48 46 xinstall -d ${docdir} … … 53 51 ${docdir} 54 52 } 55 53 54 variant nls description {Native language support} { 55 configure.args-delete --disable-nls 56 depends_lib-append port:gettext 57 } 58 56 59 livecheck.url ${homepage}download.html 57 60 livecheck.regex OpenConnect v(\[0-9.\]+)