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

snc at macports.org snc at macports.org
Sun Jun 6 18:16:19 PDT 2010


Revision: 68586
          http://trac.macports.org/changeset/68586
Author:   snc at macports.org
Date:     2010-06-06 18:16:15 -0700 (Sun, 06 Jun 2010)
Log Message:
-----------
update version, add bootstrap in build phase (requires git-core)

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

Modified: trunk/dports/devel/depot_tools/Portfile
===================================================================
--- trunk/dports/devel/depot_tools/Portfile	2010-06-07 00:48:01 UTC (rev 68585)
+++ trunk/dports/devel/depot_tools/Portfile	2010-06-07 01:16:15 UTC (rev 68586)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                depot_tools
-version             48583
+version             49028
 categories          devel
 maintainers         snc openmaintainer
 description         Manages interaction with the Chromium development process
@@ -13,17 +13,18 @@
 homepage            http://dev.chromium.org/Home
 
 platforms           darwin
+depends_build       port:git-core
 
 variant python25 {
-    depends_run     port:py25-socket-ssl
+    depends_run-append  port:py25-socket-ssl
 }
 
 variant python26 {
-    depends_run     port:python26
+    depends_run-append  port:python26
 }
 
 variant python27 {
-    depends_run     port:python27
+    depends_run-append  port:python27
 }
 
 fetch.type          svn
@@ -63,7 +64,12 @@
 
 use_configure       no
 
-build {}
+build {
+    if {![file exists ${prefix}/libexec/git-core/git-svn]} {
+        return -code error "Git must be installed with +svn variant"
+    }
+    system "cd ${worksrcpath} && ./gclient"
+}
 
 destroot {
     xinstall -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100606/bcccc58e/attachment.html>


More information about the macports-changes mailing list