Modified: trunk/dports/python/py-svnreporter/Portfile (100891 => 100892)
--- trunk/dports/python/py-svnreporter/Portfile 2012-12-31 06:34:35 UTC (rev 100891)
+++ trunk/dports/python/py-svnreporter/Portfile 2012-12-31 06:41:39 UTC (rev 100892)
@@ -1,12 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-svnreporter
version 0.4
categories python devel
+license GPL-2
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description Svn commit hook to generate reports
long_description SvnReporter generates various reports in response to \
@@ -20,7 +22,12 @@
sha1 d024cd910b9ba7f937c4b212460261ff803465d5 \
rmd160 ba0610347c93ab61f161a0088559ec32cc6affbd
-depends_lib-append port:subversion-python24bindings
+python.versions 24
-livecheck.type regex
-livecheck.regex {<tr><th>Download:</th><td><a href="http://www.calins.ch/download/SvnReporter/SvnReporter-(.*).tar.gz">http://www.calins.ch/download/SvnReporter/SvnReporter-\1.tar.gz</a></td></tr>}
+if {$subport != $name} {
+ depends_lib-append port:subversion-python${python.version}bindings
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.regex {<tr><th>Download:</th><td><a href="http://www.calins.ch/download/SvnReporter/SvnReporter-(.*).tar.gz">http://www.calins.ch/download/SvnReporter/SvnReporter-\1.tar.gz</a></td></tr>}
+}