[100895] trunk/dports/python/py-supervisor/Portfile

jmr at macports.org jmr at macports.org
Sun Dec 30 23:29:12 PST 2012


Revision: 100895
          https://trac.macports.org/changeset/100895
Author:   jmr at 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:
--------------
    trunk/dports/python/py-supervisor/Portfile

Modified: trunk/dports/python/py-supervisor/Portfile
===================================================================
--- 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}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121230/ba03bc27/attachment-0001.html>


More information about the macports-changes mailing list