[68794] trunk/dports/devel/depot_tools/Portfile

snc at macports.org snc at macports.org
Sun Jun 13 14:21:13 PDT 2010


Revision: 68794
          http://trac.macports.org/changeset/68794
Author:   snc at macports.org
Date:     2010-06-13 14:21:08 -0700 (Sun, 13 Jun 2010)
Log Message:
-----------
update version, use full paths for each python version

Modified Paths:
--------------
    trunk/dports/devel/depot_tools/Portfile

Modified: trunk/dports/devel/depot_tools/Portfile
===================================================================
--- trunk/dports/devel/depot_tools/Portfile	2010-06-13 20:56:14 UTC (rev 68793)
+++ trunk/dports/devel/depot_tools/Portfile	2010-06-13 21:21:08 UTC (rev 68794)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                depot_tools
-version             49028
+version             49657
 categories          devel
 maintainers         snc openmaintainer
 description         Manages interaction with the Chromium development process
@@ -37,28 +37,28 @@
         foreach script [glob ${worksrcpath}/*.py] {
             reinplace s|/usr/bin/python|${prefix}/bin/python2.5|g ${script}
         }
-        reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/drover
-        reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/gcl
-        reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/gclient
-        reinplace s|exec\ python|exec\ python2.5|g ${worksrcpath}/hammer
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/drover
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/gcl
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/gclient
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.5|g ${worksrcpath}/hammer
     }
     if {[variant_isset python26]} {
         foreach script [glob ${worksrcpath}/*.py] {
             reinplace s|/usr/bin/python|${prefix}/bin/python2.6|g ${script}
         }
-        reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/drover
-        reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/gcl
-        reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/gclient
-        reinplace s|exec\ python|exec\ python2.6|g ${worksrcpath}/hammer
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/drover
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/gcl
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/gclient
+        reinplace s|exec\ python|exec ${prefix}/bin/python2.6|g ${worksrcpath}/hammer
     }
     if {[variant_isset python27]} {
         foreach script [glob ${worksrcpath}/*.py] {
             reinplace s|/usr/bin/python|${prefix}/bin/python2.7|g ${script}
         }
-        reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/drover
-        reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/gcl
-        reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/gclient
-        reinplace s|exec\ python|exec\ python2.7|g ${worksrcpath}/hammer
+        reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/drover
+        reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/gcl
+        reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/gclient
+        reinplace s|exec\ python|exec\ ${prefix}/bin/python2.7|g ${worksrcpath}/hammer
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100613/adf74548/attachment-0001.html>


More information about the macports-changes mailing list