[101557] trunk/dports/python/py-piddle/Portfile
jmr at macports.org
jmr at macports.org
Sun Jan 13 14:58:19 PST 2013
Revision: 101557
https://trac.macports.org/changeset/101557
Author: jmr at macports.org
Date: 2013-01-13 14:58:19 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
py-piddle: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-piddle/Portfile
Modified: trunk/dports/python/py-piddle/Portfile
===================================================================
--- trunk/dports/python/py-piddle/Portfile 2013-01-13 22:58:03 UTC (rev 101556)
+++ trunk/dports/python/py-piddle/Portfile 2013-01-13 22:58:19 UTC (rev 101557)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-piddle
version 1.0.15
revision 1
categories python graphics
+license LGPL
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module for creating two-dimensional graphics
long_description PIDDLE is a Python module for creating two-dimensional \
@@ -21,9 +23,13 @@
distname piddle-${version}
checksums md5 b199bee7379e40737673573f5f0e5d9f
-post-destroot {
- file delete -force ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README.txt \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ file delete -force ${destroot}${prefix}/share/doc/${subport}
+ file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/0a39364b/attachment.html>
More information about the macports-changes
mailing list