Revision: 100838 https://trac.macports.org/changeset/100838 Author: jmr@macports.org Date: 2012-12-28 03:47:40 -0800 (Fri, 28 Dec 2012) Log Message: ----------- py-timeformat: use unified portgroup, license, noarch Modified Paths: -------------- trunk/dports/python/py-timeformat/Portfile Modified: trunk/dports/python/py-timeformat/Portfile =================================================================== --- trunk/dports/python/py-timeformat/Portfile 2012-12-28 10:45:53 UTC (rev 100837) +++ trunk/dports/python/py-timeformat/Portfile 2012-12-28 11:47:40 UTC (rev 100838) @@ -1,11 +1,13 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 + name py-timeformat version 1.0.0 revision 1 categories-append devel +license BSD maintainers nomaintainer description Flexible alternative to time.strftime long_description \ @@ -15,6 +17,7 @@ operation across most platforms. platforms darwin +supported_archs noarch homepage http://www.owlfish.com/software/TimeFormat/ master_sites ${homepage}downloads/ @@ -22,9 +25,12 @@ checksums md5 04f42919421c65a6f1c404dd522fabef -post-destroot { - xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} - eval file copy [glob ${worksrcpath}/documentation/html/*] \ - ${destroot}${prefix}/share/doc/${name} +python.versions 24 + +if {$subport != $name} { + post-destroot { + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} + eval file copy [glob ${worksrcpath}/documentation/html/*] \ + ${destroot}${prefix}/share/doc/${subport} + } } -
participants (1)
-
jmr@macports.org