Modified: trunk/dports/python/py-webstack/Portfile (100767 => 100768)
--- trunk/dports/python/py-webstack/Portfile 2012-12-23 21:46:25 UTC (rev 100767)
+++ trunk/dports/python/py-webstack/Portfile 2012-12-23 22:02:29 UTC (rev 100768)
@@ -1,22 +1,29 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-webstack
version 1.0
categories python www
+license LGPL-2.1+
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module providing a simple, common API for web applications
long_description ${description}
homepage http://www.boddie.org.uk/python/WebStack.html
-master_sites http://www.boddie.org.uk/python/downloads/
+master_sites http://www.boddie.org.uk/python/downloads/ \
+ http://pypi.python.org/packages/source/W/WebStack/
distname WebStack-${version}
checksums md5 0bc82ce99ca08ed8686529bb371ec33e
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} README.txt \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}