Ticket #26803: Portfile

File Portfile, 1.2 KB (added by gorticus (Jason Mitchell), 14 years ago)

updated Portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem        1.0
5
6name              git-flow
7version           0.4
8description       Git extensions for Vincent Driessen branching.
9long_description  A collection of Git extensions to provide high-level \
10                  repository operations for Vincent Driessen branching.
11maintainers       maiar.org:jason-macports
12categories        devel
13platforms         darwin
14license           BSD
15supported_archs   noarch
16
17homepage          http://github.com/nvie/gitflow
18master_sites      github
19fetch.type        git
20git.url           git://github.com/nvie/gitflow.git
21git.branch        dc5d08dfad1ae4cc6a7d
22
23depends_build-append port:git-core
24depends_run-append   port:getopt
25use_configure        no
26worksrcdir           ${distname}
27
28post-fetch {
29  # this will removed once the python re-write is complete
30  system "cd ${worksrcpath} && git submodule init && git submodule update"
31}
32
33build { }
34
35destroot.destdir  prefix=${destroot}${prefix}
36
37livecheck.type    regex
38livecheck.url     ${homepage}
39livecheck.regex   {\/tree\/(\d+(?:\.\d+)*)">\1<}