[102781] trunk/dports/python
ryandesign at macports.org
ryandesign at macports.org
Thu Feb 7 21:32:14 PST 2013
Revision: 102781
https://trac.macports.org/changeset/102781
Author: ryandesign at macports.org
Date: 2013-02-07 21:32:13 -0800 (Thu, 07 Feb 2013)
Log Message:
-----------
py-lepton: unify; add py27 subport
Modified Paths:
--------------
trunk/dports/python/py-lepton/Portfile
Added Paths:
-----------
trunk/dports/python/py-lepton/
Removed Paths:
-------------
trunk/dports/python/py25-lepton/
trunk/dports/python/py26-lepton/
Modified: trunk/dports/python/py-lepton/Portfile
===================================================================
--- trunk/dports/python/py26-lepton/Portfile 2013-02-08 04:18:33 UTC (rev 102777)
+++ trunk/dports/python/py-lepton/Portfile 2013-02-08 05:32:13 UTC (rev 102781)
@@ -1,8 +1,9 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
-name py26-lepton
+PortGroup python 1.0
+
+name py-lepton
version 1.0b2
categories-append graphics
maintainers nomaintainer
@@ -17,21 +18,30 @@
with OpenGL (via pyglet, PyOpenGL, wxPython, etc), or with pygame by \
selecting the appropriate renderer.
+python.versions 25 26 27
+
platforms darwin
homepage http://code.google.com/p/py-lepton/
master_sites googlecode:py-lepton
distname lepton-${version}
+# can be removed with next version update
+dist_subdir python
+
checksums md5 3a7fcf870b20700620322b7a53bd102e \
sha1 639369c8524b17744a7096b25ca28aa4bbd4cbd3 \
rmd160 21bbc4f61d0b1027b7546bdd350c8beef71d8ef2
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
- ${destroot}${prefix}/share/examples/${name}
- xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
- ${destroot}${prefix}/share/doc/${name}
- eval copy [glob ${worksrcpath}/examples/*] \
- ${destroot}${prefix}/share/examples/${name}
+if {${name} != ${subport}} {
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
+ ${destroot}${prefix}/share/examples/${subport}
+ xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ eval copy [glob ${worksrcpath}/examples/*] \
+ ${destroot}${prefix}/share/examples/${subport}
+ }
+
+ livecheck.type none
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130207/c2dab0a2/attachment.html>
More information about the macports-changes
mailing list