[100845] trunk/dports/python/py-taskplan/Portfile

jmr at macports.org jmr at macports.org
Fri Dec 28 18:32:41 PST 2012


Revision: 100845
          https://trac.macports.org/changeset/100845
Author:   jmr at macports.org
Date:     2012-12-28 18:32:41 -0800 (Fri, 28 Dec 2012)
Log Message:
-----------
py-taskplan: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-taskplan/Portfile
===================================================================
--- trunk/dports/python/py-taskplan/Portfile	2012-12-29 02:23:36 UTC (rev 100844)
+++ trunk/dports/python/py-taskplan/Portfile	2012-12-29 02:32:41 UTC (rev 100845)
@@ -1,13 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-taskplan
 version			1.2.1
 revision		1
-categories		python
+license			MIT
 platforms		darwin freebsd
+supported_archs	noarch
 maintainers		nomaintainer
 description		Simple task planner capable of resource allocation.
 long_description	A simple task planner capable of resource allocation, \
@@ -19,7 +20,11 @@
 distname		pytaskplan-${version}
 checksums		md5 8a59b0f8685eafd129530ace755d504a
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} CHANGES.txt README.txt \
-		 ${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} CHANGES.txt README.txt \
+             ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121228/21d337c9/attachment-0001.html>


More information about the macports-changes mailing list