Revision: 107422 https://trac.macports.org/changeset/107422 Author: jmr@macports.org Date: 2013-06-27 21:23:12 -0700 (Thu, 27 Jun 2013) Log Message: ----------- py25-chart: use unified portgroup, license, noarch Modified Paths: -------------- trunk/dports/python/py-chart/Portfile Added Paths: ----------- trunk/dports/python/py-chart/ Removed Paths: ------------- trunk/dports/python/py25-chart/ Modified: trunk/dports/python/py-chart/Portfile =================================================================== --- trunk/dports/python/py25-chart/Portfile 2013-06-27 23:26:55 UTC (rev 107417) +++ trunk/dports/python/py-chart/Portfile 2013-06-28 04:23:12 UTC (rev 107422) @@ -1,12 +1,14 @@ # $Id$ PortSystem 1.0 -PortGroup python25 1.0 +PortGroup python 1.0 -name py25-chart +name py-chart version 1.39 maintainers nomaintainer +license GPL-2+ platforms darwin freebsd +supported_archs noarch description python library for creating EPS, PDF, PNG, or SVG charts long_description PyChart is a Python library for creating high quality \ Encapsulated PostScript, PDF, PNG, or SVG charts. It \ @@ -20,7 +22,11 @@ checksums md5 f1f509a1c4623056c8e780bb7c9a05c5 \ sha1 651ada2d8aae7d97cf530162524265e96f305eee -post-destroot { - xinstall -m 644 -W ${worksrcpath} COPYING README \ - ${destroot}${prefix}/share/doc/${name} +python.versions 25 + +if {$subport ne $name} { + post-destroot { + xinstall -m 644 -W ${worksrcpath} COPYING README \ + ${destroot}${prefix}/share/doc/${subport} + } }