# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 84550 2011-09-27 21:05:11Z snc@macports.org $

PortSystem              1.0

name                    git-flow
version                 0.4.1
categories              devel
platforms               darwin
maintainers             maiar.org:jason-macports
license                 BSD
supported_archs         noarch

description             Git extensions for Vincent Driessen branching.

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"
}

use_configure           no

build {}

destroot.destdir        prefix=${destroot}${prefix}

livecheck.type          regex
livecheck.url           ${homepage}
livecheck.regex         {/tree/(\d+(?:\.\d+)*)">\1<}
