[101205] trunk/dports/python/py-sisyphus/Portfile

jmr at macports.org jmr at macports.org
Sun Jan 6 02:12:05 PST 2013


Revision: 101205
          https://trac.macports.org/changeset/101205
Author:   jmr at macports.org
Date:     2013-01-06 02:12:05 -0800 (Sun, 06 Jan 2013)
Log Message:
-----------
py-sisyphus: use unified portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-sisyphus/Portfile

Modified: trunk/dports/python/py-sisyphus/Portfile
===================================================================
--- trunk/dports/python/py-sisyphus/Portfile	2013-01-06 10:02:06 UTC (rev 101204)
+++ trunk/dports/python/py-sisyphus/Portfile	2013-01-06 10:12:05 UTC (rev 101205)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-sisyphus
 version			0.9.1
 categories		python devel
+license			MIT
 maintainers		nomaintainer
 platforms		darwin freebsd
+supported_archs	noarch
 description		python module for running python stuff as cron jobs
 long_description	This module simplifies running Python stuff as cron \
 				jobs. There will be no more than one sisyphus job of a certain \
@@ -23,9 +25,13 @@
 distname		ll-sisyphus-${version}
 checksums		md5 9d03cdd036dd1ab65da167c53d97ba4a
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README NEWS.xml \
-		INSTALL.xml ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 ${worksrcpath}/examples/Fetch.py \
-		${destroot}${prefix}/share/doc/${name}/examples
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} INSTALL NEWS README NEWS.xml \
+            INSTALL.xml ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 ${worksrcpath}/examples/Fetch.py \
+            ${destroot}${prefix}/share/doc/${subport}/examples
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130106/72c970da/attachment.html>


More information about the macports-changes mailing list