[97786] trunk/dports/devel/git-flow/Portfile

cal at macports.org cal at macports.org
Sat Sep 15 04:09:47 PDT 2012


Revision: 97786
          http://trac.macports.org//changeset/97786
Author:   cal at macports.org
Date:     2012-09-15 04:09:46 -0700 (Sat, 15 Sep 2012)
Log Message:
-----------
git-flow: switch to using the github portgroup, maintainer, #35872

Modified Paths:
--------------
    trunk/dports/devel/git-flow/Portfile

Modified: trunk/dports/devel/git-flow/Portfile
===================================================================
--- trunk/dports/devel/git-flow/Portfile	2012-09-15 11:05:14 UTC (rev 97785)
+++ trunk/dports/devel/git-flow/Portfile	2012-09-15 11:09:46 UTC (rev 97786)
@@ -2,12 +2,15 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               github 1.0
 
+github.setup            nvie gitflow 0.4.1
+fetch.type              git
+
 name                    git-flow
-version                 0.4.1
 categories              devel
 platforms               darwin
-maintainers             maiar.org:jason-macports
+maintainers             maiar.org:jason-macports openmaintainer
 license                 BSD
 supported_archs         noarch
 
@@ -16,18 +19,14 @@
 long_description        A collection of Git extensions to provide high-level \
                         repository operations for Vincent Driessen branching.
 
-homepage                http://github.com/nvie/gitflow
-fetch.type              git
-git.url                 git://github.com/nvie/gitflow.git
-git.branch              1ffb6b1091f05466d3cd
-
 depends_build-append    port:git-core
 
 depends_run-append      port:getopt
 
 post-fetch {
-    # this will be removed once the python re-write is complete
-    system "cd ${worksrcpath} && git submodule init && git submodule update"
+    # Does the github portgroup support 'clone --recursive'?
+    # This will be removed once the python re-write is complete.
+    system "cd ${worksrcpath} && git submodule update --init"
 }
 
 use_configure           no
@@ -35,7 +34,3 @@
 build {}
 
 destroot.destdir        prefix=${destroot}${prefix}
-
-livecheck.type          regex
-livecheck.url           ${homepage}
-livecheck.regex         {/tree/(\d+(?:\.\d+)*)">\1<}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120915/aeba18fe/attachment.html>


More information about the macports-changes mailing list