[82233] trunk/dports/python/py-bdist_mpkg/Portfile
jmr at macports.org
jmr at macports.org
Wed Aug 10 17:49:59 PDT 2011
Revision: 82233
http://trac.macports.org/changeset/82233
Author: jmr at macports.org
Date: 2011-08-10 17:49:58 -0700 (Wed, 10 Aug 2011)
Log Message:
-----------
py-bdist_mpkg: add version suffix to binary with 2.4 and 2.5
Modified Paths:
--------------
trunk/dports/python/py-bdist_mpkg/Portfile
Modified: trunk/dports/python/py-bdist_mpkg/Portfile
===================================================================
--- trunk/dports/python/py-bdist_mpkg/Portfile 2011-08-10 23:43:31 UTC (rev 82232)
+++ trunk/dports/python/py-bdist_mpkg/Portfile 2011-08-11 00:49:58 UTC (rev 82233)
@@ -30,10 +30,18 @@
python.versions 24 25 26 27
-if {$subport == "py24-bdist_mpkg"} {
- depends_lib port:py-setuptools
-} elseif {$subport != $name} {
- depends_lib port:py${python.version}-distribute
+if {$subport != $name} {
+ if {${python.version} == "24"} {
+ depends_lib port:py-setuptools
+ } else {
+ depends_lib port:py${python.version}-distribute
+ }
+ if {${python.version} == "24" || ${python.version} == "25"} {
+ post-destroot {
+ move ${destroot}${prefix}/bin/bdist_mpkg \
+ ${destroot}${prefix}/bin/bdist_mpkg-${python.branch}
+ }
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110810/00041e0f/attachment.html>
More information about the macports-changes
mailing list