Modified: trunk/dports/python/py-xmldiff/Portfile (100736 => 100737)
--- trunk/dports/python/py-xmldiff/Portfile 2012-12-21 21:14:15 UTC (rev 100736)
+++ trunk/dports/python/py-xmldiff/Portfile 2012-12-21 21:36:23 UTC (rev 100737)
@@ -1,11 +1,12 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-xmldiff
version 0.6.8
categories python textproc
+license GPL-2+
platforms darwin
maintainers nomaintainer
description diff for xml files as command line tool and python module
@@ -22,12 +23,17 @@
sha1 eed3a15496df1e892c0363273da67f0532a716a7 \
rmd160 0ce0e87293f4adc1d801e1bd8f40c32939d6f884
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} ChangeLog README README.xmlrev TODO \
- doc/API.html doc/API.txt doc/HELP.html doc/HELP.txt \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} ChangeLog README README.xmlrev TODO \
+ doc/API.html doc/API.txt doc/HELP.html doc/HELP.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url [lindex ${master_sites} 0]
+ livecheck.regex xmldiff-(\[0-9.\]+)${extract.suffix}
}
-
-livecheck.type regex
-livecheck.url [lindex ${master_sites} 0]
-livecheck.regex xmldiff-(\[0-9.\]+)${extract.suffix}