[101617] trunk/dports/python
jmr at macports.org
jmr at macports.org
Mon Jan 14 18:26:27 PST 2013
Revision: 101617
https://trac.macports.org/changeset/101617
Author: jmr at macports.org
Date: 2013-01-14 18:26:27 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
py*-optik: unify
Modified Paths:
--------------
trunk/dports/python/py-optik/Portfile
Removed Paths:
-------------
trunk/dports/python/py25-optik/
Modified: trunk/dports/python/py-optik/Portfile
===================================================================
--- trunk/dports/python/py-optik/Portfile 2013-01-15 02:14:33 UTC (rev 101616)
+++ trunk/dports/python/py-optik/Portfile 2013-01-15 02:26:27 UTC (rev 101617)
@@ -1,7 +1,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-optik
version 1.5.3
@@ -22,8 +22,12 @@
checksums sha1 e4718ed19bf15cf7d882b369e9e5de7c352d7fb5
-post-destroot {
- file delete -force ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
+python.versions 24 25
+
+if {$subport != $name} {
+ post-destroot {
+ file delete -force ${destroot}${prefix}/share/doc/${subport}
+ file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
+ file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/0285b1d1/attachment.html>
More information about the macports-changes
mailing list