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  
    22# $Id: Portfile 84550 2011-09-27 21:05:11Z snc@macports.org $
    33
    44PortSystem              1.0
     5PortGroup               github 1.0
     6
     7github.setup            nvie gitflow 0.4.1
     8fetch.type              git
    59
    610name                    git-flow
    7 version                 0.4.1
    811categories              devel
    912platforms               darwin
    10 maintainers             maiar.org:jason-macports
     13maintainers             maiar.org:jason-macports openmaintainer
    1114license                 BSD
    1215supported_archs         noarch
    1316
     
    1619long_description        A collection of Git extensions to provide high-level \
    1720                        repository operations for Vincent Driessen branching.
    1821
    19 homepage                http://github.com/nvie/gitflow
    20 fetch.type              git
    21 git.url                 git://github.com/nvie/gitflow.git
    22 git.branch              1ffb6b1091f05466d3cd
    23 
    2422depends_build-append    port:git-core
    2523
    2624depends_run-append      port:getopt
    2725
    2826post-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"
    3130}
    3231
    3332use_configure           no
     
    3534build {}
    3635
    3736destroot.destdir        prefix=${destroot}${prefix}
    38 
    39 livecheck.type          regex
    40 livecheck.url           ${homepage}
    41 livecheck.regex         {/tree/(\d+(?:\.\d+)*)">\1<}