Modified: trunk/dports/python/py-chart/Portfile (107417 => 107422)
--- 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}
+ }
}