Ticket #27809: Portfile.2.26.patch

File Portfile.2.26.patch, 1.9 KB (added by Mathias.Laurin+macports@…, 13 years ago)
  • (a) Portfile-2.25.macports vs. (b) Portfile

    a b  
    44PortSystem          1.0
    55
    66name                openconnect
    7 version             2.25
    8 revision        1
     7version             2.26
     8revision        0
    99categories          net
    1010platforms           macosx
    11 maintainers         gmail.com:Mathias.Laurin+macports
     11maintainers         openmaintainer gmail.com:Mathias.Laurin+macports
    1212description         OpenConnect is a client for Cisco's AnyConnect SSL VPN
    1313long_description    ${description}, which is supported by IOS 12.4(9)T or \
    1414                    later on Cisco SR500, 870, 880, 1800, 2800, 3800, 7200 \
     
    1919depends_lib         port:libxml2 \
    2020                    port:zlib \
    2121                    port:openssl \
    22                     port:tuntaposx \
    23                     port:gconf
     22                    port:tuntaposx
    2423
    2524master_sites        ftp://ftp.infradead.org/pub/openconnect/
    2625distname            ${name}-${version}
    2726
    28 checksums           sha1    d819ae60d14dfc16854957d4f04451e9505c4207 \
    29                     rmd160  83012d0463fc2253e3704404f54b3f628373c4b3
     27checksums           sha1    190b7c74e76d898eb907d63e85a7bb15ee665654 \
     28                    rmd160  7a075e73950666b3c955ef8c6d7f91a116c7c967
    3029
    31 patchfiles          patch-Makefile.diff
    32 post-patch {
     30patch {
     31    reinplace s|\$(DESTDIR)/usr/bin|\$(DESTDIR)/bin| ${worksrcpath}/Makefile
     32    reinplace s|\$(DESTDIR)/usr/libexec|\$(DESTDIR)/libexec| ${worksrcpath}/Makefile
    3333    reinplace s|@OPTFLAGS@|${configure.optflags}| ${worksrcpath}/Makefile
    3434    reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/Makefile
    3535}
    3636
    3737use_configure       no
    3838
     39build.target        openconnect
    3940build.env           CC=${configure.cc}
    4041
    4142destroot.destdir    DESTDIR=${destroot}${prefix}
    4243
     44livecheck.url       ${homepage}/index.html
     45livecheck.regex     OpenConnect v(\[0-9.\]+)
    4346livecheck.distname  openconnect