Ticket #39082: xml2-0.5.diff
File xml2-0.5.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
4 4 5 5 name xml2 6 6 7 version 0.4 8 revision 1 7 version 0.5 9 8 categories textproc xml 10 9 platforms darwin 11 10 maintainers 23bit.net:cr 11 license GPL-2+ 12 12 13 13 description Convert between XML/HTML and a shell-friendly format 14 14 … … 16 16 line-oriented format more amenable to processing by classic \ 17 17 Unix pipeline processing tools, like grep, sed, awk, cut, \ 18 18 shell scripts, and so forth. 19 19 20 homepage http://dan.egnor.name/xml2/ 21 master_sites http://download.ofb.net/gale/ 20 22 21 master_sites http://download.gale.org/ 23 checksums rmd160 bb4e7d93703f4724b0ea812a21bfa96e082eab51 \ 24 sha256 e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705 22 25 23 checksums md5 8a0ef16fe0b3e1495307318c590c1ec0 \24 sha1 735e7f6c336bd88dd1ab12bdea84e7cf1df5a36d \25 rmd160 06f9c2eed54ad51f0f938ebceee60fa5a3cb878f26 27 26 depends_build port:pkgconfig 28 depends_lib port:libxml29 27 28 depends_lib port:libxml2 29 30 30 post-destroot { 31 # fix broken Links31 # Fix symlinks so they don't point into the destroot. 32 32 ln -sf ./xml2 ${destroot}${prefix}/bin/html2 33 33 ln -sf ./2xml ${destroot}${prefix}/bin/2html 34 34 } 35 36 livecheck.type regex 37 livecheck.url [lindex ${master_sites} 0] 38 livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}