Ticket #39082: xml2-0.5.diff

File xml2-0.5.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)

proposed patch

  • Portfile

     
    44
    55name                xml2
    66
    7 version             0.4
    8 revision            1
     7version             0.5
    98categories          textproc xml
    109platforms           darwin
    1110maintainers         23bit.net:cr
     11license             GPL-2+
    1212
    1313description         Convert between XML/HTML and a shell-friendly format
    1414
     
    1616                    line-oriented format more amenable to processing by classic \
    1717                    Unix pipeline processing tools, like grep, sed, awk, cut, \
    1818                    shell scripts, and so forth.
     19
    1920homepage            http://dan.egnor.name/xml2/
     21master_sites        http://download.ofb.net/gale/
    2022
    21 master_sites    http://download.gale.org/
     23checksums           rmd160  bb4e7d93703f4724b0ea812a21bfa96e082eab51 \
     24                    sha256  e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705
    2225
    23 checksums       md5 8a0ef16fe0b3e1495307318c590c1ec0 \
    24                 sha1 735e7f6c336bd88dd1ab12bdea84e7cf1df5a36d \
    25                 rmd160 06f9c2eed54ad51f0f938ebceee60fa5a3cb878f
    26 
    2726depends_build   port:pkgconfig
    28 depends_lib     port:libxml
    2927
     28depends_lib         port:libxml2
     29
    3030post-destroot {
    31     # fix broken Links
     31    # Fix symlinks so they don't point into the destroot.
    3232    ln -sf ./xml2 ${destroot}${prefix}/bin/html2
    3333    ln -sf ./2xml ${destroot}${prefix}/bin/2html
    3434}
     35
     36livecheck.type      regex
     37livecheck.url       [lindex ${master_sites} 0]
     38livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}