Ticket #27809: Portfile.2.26.patch
File Portfile.2.26.patch, 1.9 KB (added by Mathias.Laurin+macports@…, 14 years ago) |
---|
-
(a) Portfile-2.25.macports vs. (b) Portfile
a b 4 4 PortSystem 1.0 5 5 6 6 name openconnect 7 version 2.2 58 revision 17 version 2.26 8 revision 0 9 9 categories net 10 10 platforms macosx 11 maintainers gmail.com:Mathias.Laurin+macports11 maintainers openmaintainer gmail.com:Mathias.Laurin+macports 12 12 description OpenConnect is a client for Cisco's AnyConnect SSL VPN 13 13 long_description ${description}, which is supported by IOS 12.4(9)T or \ 14 14 later on Cisco SR500, 870, 880, 1800, 2800, 3800, 7200 \ … … 19 19 depends_lib port:libxml2 \ 20 20 port:zlib \ 21 21 port:openssl \ 22 port:tuntaposx \ 23 port:gconf 22 port:tuntaposx 24 23 25 24 master_sites ftp://ftp.infradead.org/pub/openconnect/ 26 25 distname ${name}-${version} 27 26 28 checksums sha1 d819ae60d14dfc16854957d4f04451e9505c4207\29 rmd160 83012d0463fc2253e3704404f54b3f628373c4b327 checksums sha1 190b7c74e76d898eb907d63e85a7bb15ee665654 \ 28 rmd160 7a075e73950666b3c955ef8c6d7f91a116c7c967 30 29 31 patchfiles patch-Makefile.diff 32 post-patch { 30 patch { 31 reinplace s|\$(DESTDIR)/usr/bin|\$(DESTDIR)/bin| ${worksrcpath}/Makefile 32 reinplace s|\$(DESTDIR)/usr/libexec|\$(DESTDIR)/libexec| ${worksrcpath}/Makefile 33 33 reinplace s|@OPTFLAGS@|${configure.optflags}| ${worksrcpath}/Makefile 34 34 reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/Makefile 35 35 } 36 36 37 37 use_configure no 38 38 39 build.target openconnect 39 40 build.env CC=${configure.cc} 40 41 41 42 destroot.destdir DESTDIR=${destroot}${prefix} 42 43 44 livecheck.url ${homepage}/index.html 45 livecheck.regex OpenConnect v(\[0-9.\]+) 43 46 livecheck.distname openconnect