[82067] trunk/dports/python/py-distribute/Portfile
jmr at macports.org
jmr at macports.org
Sun Aug 7 02:26:52 PDT 2011
Revision: 82067
http://trac.macports.org/changeset/82067
Author: jmr at macports.org
Date: 2011-08-07 02:26:51 -0700 (Sun, 07 Aug 2011)
Log Message:
-----------
py-distribute: disable post-destroot in the stub
Modified Paths:
--------------
trunk/dports/python/py-distribute/Portfile
Modified: trunk/dports/python/py-distribute/Portfile
===================================================================
--- trunk/dports/python/py-distribute/Portfile 2011-08-07 09:15:05 UTC (rev 82066)
+++ trunk/dports/python/py-distribute/Portfile 2011-08-07 09:26:51 UTC (rev 82067)
@@ -29,15 +29,17 @@
python.default_version 27
python.link_binaries no
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
- DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${name}
- if {$subport == "py25-distribute"} {
- delete "${destroot}${prefix}/bin/easy_install"
- } else {
- ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
- }
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS.txt \
+ DEVGUIDE.txt README.txt ${destroot}${prefix}/share/doc/${name}
+ if {$subport == "py25-distribute"} {
+ delete "${destroot}${prefix}/bin/easy_install"
+ } else {
+ ln -s "${python.prefix}/bin/easy_install-${python.branch}" "${destroot}${prefix}/bin/"
+ }
+ }
}
livecheck.url ${master_sites}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110807/62f1d54a/attachment.html>
More information about the macports-changes
mailing list