[83966] trunk/dports/python
jmr at macports.org
jmr at macports.org
Tue Sep 13 15:59:30 PDT 2011
Revision: 83966
http://trac.macports.org/changeset/83966
Author: jmr at macports.org
Date: 2011-09-13 15:59:27 -0700 (Tue, 13 Sep 2011)
Log Message:
-----------
unify py*-dice3ds
Modified Paths:
--------------
trunk/dports/python/py-dice3ds/Portfile
Added Paths:
-----------
trunk/dports/python/py-dice3ds/
Removed Paths:
-------------
trunk/dports/python/py25-dice3ds/
trunk/dports/python/py26-dice3ds/
trunk/dports/python/py27-dice3ds/
Modified: trunk/dports/python/py-dice3ds/Portfile
===================================================================
--- trunk/dports/python/py27-dice3ds/Portfile 2011-09-13 18:32:00 UTC (rev 83960)
+++ trunk/dports/python/py-dice3ds/Portfile 2011-09-13 22:59:27 UTC (rev 83966)
@@ -2,9 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup python27 1.0
+PortGroup python 1.0
-name py27-dice3ds
+name py-dice3ds
version 0.13
categories-append graphics
platforms darwin
@@ -16,17 +16,22 @@
in Python. Also includes code to convert 3DS files into an OpenGL display list.
homepage http://www.aerojockey.com/software/dice3ds/
-depends_lib port:py27-numpy
-
master_sites ${homepage}
distname Dice3DS-${version}
checksums md5 b4e5a26a2f8fd9c0ee539ea37d1ffb8e \
sha1 a890588b6e041c9888aa33664a5302adbc9a8dbc \
rmd160 9b22c55045044027b02f13b946d024bf68113f63
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING NEWS README THANKS TODO doc/doc.html \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 25 26 27
+python.default_version 27
+
+if {$subport != $name} {
+ depends_lib port:py${python.version}-numpy
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} COPYING NEWS README THANKS TODO doc/doc.html \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110913/45ebdf41/attachment.html>
More information about the macports-changes
mailing list