# -*- 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 97786 2012-09-15 11:09:46Z cal@macports.org $

PortSystem              1.0
PortGroup               github 1.0

github.setup            nvie gitflow 0.4.1
fetch.type              git

name                    git-flow
categories              devel
platforms               darwin
maintainers             maiar.org:jason-macports openmaintainer
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.

depends_build-append    port:git-core

depends_run-append      port:getopt

post-fetch {
    # 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

build {}

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