Revision: 100845 https://trac.macports.org/changeset/100845 Author: jmr@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} + } }