Ticket #14074: popt-1.13.diff

File popt-1.13.diff, 1.5 KB (added by nox@…, 17 years ago)
  • Portfile

     
    33PortSystem 1.0
    44
    55name            popt
    6 version         1.12
     6version         1.13
    77categories      devel
    88maintainers     n3npq@mac.com
    99description     A getopt(3) like library with a number of enhancements
     
    2222                port:libiconv
    2323
    2424post-destroot {
    25         file delete -force ${destroot}${prefix}/share/locale/locale.alias
    26         file delete -force ${destroot}${prefix}/lib/charset.alias
     25    if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} {
     26        delete ${destroot}${prefix}/share/locale/locale.alias
     27    }
    2728
     29    if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
     30        delete ${destroot}${prefix}/lib/charset.alias
     31    }
     32
    2833        set docdir ${prefix}/share/doc/${name}-${version}
    2934        xinstall -d ${destroot}${docdir}
    3035        xinstall -m 0644 -W ${worksrcpath} ABOUT-NLS CHANGES COPYING README \
     
    3439test.run    yes
    3540test.target check
    3641
    37 checksums   md5 f45290e9ac4b1cf209d0042eb6755543 \
    38             sha1 113669bd952913307044ed67d8120a2d3e05626b \
    39             rmd160 95bd1960fd896df8f521fff2ea4c8570b2984eec
     42checksums       md5 b5c47ce0185c83f947953c77000533bf \
     43                sha1 658bf2d2ec25e97816f5920bb24048cf252d053a \
     44                rmd160 bcf9d493be05c909609d98f504b77268aadadff1
    4045
    4146platform darwin 7 {
    4247        depends_build-append port:autoconf
     
    4550livecheck.check regex
    4651livecheck.url   ${master_sites}/?C=M&O=D
    4752livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
    48