[106123] trunk/dports/textproc/xml2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed May 15 13:01:04 PDT 2013
Revision: 106123
https://trac.macports.org/changeset/106123
Author: ryandesign at macports.org
Date: 2013-05-15 13:01:04 -0700 (Wed, 15 May 2013)
Log Message:
-----------
xml2: update to 0.5; fix livecheck; update master_sites; license GPL-2+ (#39082)
Modified Paths:
--------------
trunk/dports/textproc/xml2/Portfile
Modified: trunk/dports/textproc/xml2/Portfile
===================================================================
--- trunk/dports/textproc/xml2/Portfile 2013-05-15 19:56:29 UTC (rev 106122)
+++ trunk/dports/textproc/xml2/Portfile 2013-05-15 20:01:04 UTC (rev 106123)
@@ -4,11 +4,11 @@
name xml2
-version 0.4
-revision 1
+version 0.5
categories textproc xml
platforms darwin
maintainers 23bit.net:cr
+license GPL-2+
description Convert between XML/HTML and a shell-friendly format
@@ -16,19 +16,23 @@
line-oriented format more amenable to processing by classic \
Unix pipeline processing tools, like grep, sed, awk, cut, \
shell scripts, and so forth.
+
homepage http://dan.egnor.name/xml2/
+master_sites http://download.ofb.net/gale/
-master_sites http://download.gale.org/
+checksums rmd160 bb4e7d93703f4724b0ea812a21bfa96e082eab51 \
+ sha256 e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705
-checksums md5 8a0ef16fe0b3e1495307318c590c1ec0 \
- sha1 735e7f6c336bd88dd1ab12bdea84e7cf1df5a36d \
- rmd160 06f9c2eed54ad51f0f938ebceee60fa5a3cb878f
-
depends_build port:pkgconfig
-depends_lib port:libxml
+depends_lib port:libxml2
+
post-destroot {
- # fix broken Links
+ # Fix symlinks so they don't point into the destroot.
ln -sf ./xml2 ${destroot}${prefix}/bin/html2
ln -sf ./2xml ${destroot}${prefix}/bin/2html
}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130515/7abe4978/attachment.html>
More information about the macports-changes
mailing list