Revision
100895
Author
jmr@macports.org
Date
2012-12-30 23:29:12 -0800 (Sun, 30 Dec 2012)

Log Message

py-supervisor: use unified portgroup, license, noarch

Modified Paths

Diff

Modified: trunk/dports/python/py-supervisor/Portfile (100894 => 100895)


--- trunk/dports/python/py-supervisor/Portfile	2012-12-31 07:21:09 UTC (rev 100894)
+++ trunk/dports/python/py-supervisor/Portfile	2012-12-31 07:29:12 UTC (rev 100895)
@@ -1,27 +1,33 @@
 # $Id$
 
 PortSystem		1.0
-PortGroup		python24 1.0
+PortGroup		python 1.0
+
 name			py-supervisor
 version			3.0a3
+license			BSD ZPL-2.1
 maintainers		gmail.com:roger.hoover
 description		Process manager for UNIX-like OSs
 long_description	The supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems
 
 platforms		darwin
+supported_archs	noarch
 
 homepage		http://www.plope.com/software/supervisor2/
 master_sites		${homepage}
 distname		supervisor-${version}
+checksums		md5 e6533646e83aede64d2855c0f11f964c
 
-depends_lib-append	port:py24-distribute \
-			port:py24-elementtree \
-			port:py-meld3 \
-			port:py-medusa 
+python.versions	24
 
-checksums		md5 e6533646e83aede64d2855c0f11f964c
+if {$subport != $name} {
+    depends_lib-append	port:py${python.version}-distribute \
+                port:py${python.version}-elementtree \
+                port:py${python.version}-meld3 \
+                port:py${python.version}-medusa
 
-post-destroot   {
-        file delete -force ${destroot}${prefix}/doc
-        xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt COPYRIGHT.txt LICENSES.txt TODO.txt UPGRADING.txt sample.conf ${destroot}${prefix}/share/doc/${name}
+    post-destroot   {
+            file delete -force ${destroot}${prefix}/doc
+            xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt COPYRIGHT.txt LICENSES.txt TODO.txt UPGRADING.txt sample.conf ${destroot}${prefix}/share/doc/${subport}
+    }
 }