[127143] trunk/dports/python/py-hgexperimental/Portfile

sean at macports.org sean at macports.org
Tue Oct 21 14:35:31 PDT 2014


Revision: 127143
          https://trac.macports.org/changeset/127143
Author:   sean at macports.org
Date:     2014-10-21 14:35:31 -0700 (Tue, 21 Oct 2014)
Log Message:
-----------
py-hgexperimental: move destroot block into subport

Modified Paths:
--------------
    trunk/dports/python/py-hgexperimental/Portfile

Modified: trunk/dports/python/py-hgexperimental/Portfile
===================================================================
--- trunk/dports/python/py-hgexperimental/Portfile	2014-10-21 21:35:28 UTC (rev 127142)
+++ trunk/dports/python/py-hgexperimental/Portfile	2014-10-21 21:35:31 UTC (rev 127143)
@@ -27,14 +27,14 @@
 
 build {}
 
-destroot {
-    xinstall -d -m 755 ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
-    eval xinstall -m 755 [glob ${worksrcpath}/*.py] ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
-}
-
 if {${name} ne ${subport}} {
     depends_lib-append  path:bin/hg:mercurial
 
+    destroot {
+        xinstall -d -m 755 ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
+        eval xinstall -m 755 [glob ${worksrcpath}/*.py] ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
+    }
+
     notes               "
 To enable all of the extensions in ${realname}, add the following to your ~/.hgrc:
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141021/56b24e55/attachment.html>


More information about the macports-changes mailing list