Ticket #35872: Portfile-git-flow.diff
File Portfile-git-flow.diff, 1.6 KB (added by gorticus (Jason Mitchell), 12 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 84550 2011-09-27 21:05:11Z snc@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup github 1.0 6 7 github.setup nvie gitflow 0.4.1 8 fetch.type git 5 9 6 10 name git-flow 7 version 0.4.18 11 categories devel 9 12 platforms darwin 10 maintainers maiar.org:jason-macports 13 maintainers maiar.org:jason-macports openmaintainer 11 14 license BSD 12 15 supported_archs noarch 13 16 … … 16 19 long_description A collection of Git extensions to provide high-level \ 17 20 repository operations for Vincent Driessen branching. 18 21 19 homepage http://github.com/nvie/gitflow20 fetch.type git21 git.url git://github.com/nvie/gitflow.git22 git.branch 1ffb6b1091f05466d3cd23 24 22 depends_build-append port:git-core 25 23 26 24 depends_run-append port:getopt 27 25 28 26 post-fetch { 29 # this will be removed once the python re-write is complete 30 system "cd ${worksrcpath} && git submodule init && git submodule update" 27 # Does the github portgroup support 'clone --recursive'? 28 # This will be removed once the python re-write is complete. 29 system "cd ${worksrcpath} && git submodule update --init" 31 30 } 32 31 33 32 use_configure no … … 35 34 build {} 36 35 37 36 destroot.destdir prefix=${destroot}${prefix} 38 39 livecheck.type regex40 livecheck.url ${homepage}41 livecheck.regex {/tree/(\d+(?:\.\d+)*)">\1<}