Modified: trunk/dports/python/py-cherrypy/Portfile (96081 => 96082)
--- trunk/dports/python/py-cherrypy/Portfile 2012-07-31 11:42:27 UTC (rev 96081)
+++ trunk/dports/python/py-cherrypy/Portfile 2012-07-31 12:04:15 UTC (rev 96082)
@@ -2,14 +2,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-cherrypy
-conflicts py-cherrypy3
version 2.3.0
revision 1
categories python www
-maintainers akitada openmaintainer
+maintainers akitada gmail.com:freespace openmaintainer
supported_archs noarch
description Object-Oriented HTTP framework
@@ -26,10 +25,16 @@
checksums md5 80ce0f666f2899d4e681432e4061db16 \
sha1 067121c5f31442519ac07138ffe8af6f7c7465d2 \
rmd160 4c95735b17d58c431f1dbf685500d2a1ca8e38d8
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} \
- CHANGELOG.txt CHERRYPYTEAM.txt README.txt \
- ${destroot}${prefix}/share/doc/${name}
- move ${destroot}${python.pkgd}/cherrypy/tutorial \
- ${destroot}${prefix}/share/doc/${name}
+
+python.versions 24 25 26 27
+
+if {$subport != $name} {
+ conflicts py${python.version}-cherrypy3
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGELOG.txt CHERRYPYTEAM.txt README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ move ${destroot}${python.pkgd}/cherrypy/tutorial \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}