Ticket #24763: Portfile.2

File Portfile.2, 1.9 KB (added by raimue (Rainer Müller), 15 years ago)
Line 
1# $Id$
2
3PortSystem    1.0
4
5name          git-bzr
6set commitish 61d60075fb548f1d49d54b1a98b8b568e68ecc44
7set short_commitish [string range ${commitish} 0 6]
8version       1.2~${short_commitish}
9categories    devel
10platforms     darwin
11maintainers   nomaintainer
12
13# To update, open <http://github.com/kfish/git-bzr> in a web browser
14# then download a tar.gz for the most recent commit (or the commit
15# for a release).  The file name will be formatted like ${distname}
16# with a .tar.gz extension.  Use the version and revision from the
17# file name and the long commitish from the web page to update the
18# fields above, and use the downloaded file to update the checksums
19# below.
20
21description   A bidirectional Git - Bazaar gateway
22long_description  The git-bzr script allows you to add bazaar repositories \
23    as git branches in your git repository. After that, you \
24    may fetch the Bazaar repo, make some changes, and push \
25    it back into Bazaar.
26
27homepage      http://github.com/kfish/${name}
28master_sites  http://github.com/kfish/${name}/zipball/${commitish}/
29distname      kfish-${name}-v${version}-g${short_commitish}
30worksrcdir    kfish-${name}-${short_commitish}
31use_zip yes
32
33checksums     md5     1749335fd44d5391816d665f58754ffe \
34              sha1    4f1af023b15afda7ea69f57a36a990ead1682ea5 \
35              rmd160  b607d5325bddaa39a81cebe8bbe6b05e367b363e
36
37depends_run-append  port:bzr \
38                    port:bzr-fastimport \
39                    port:git-core
40
41use_configure no
42build {}
43
44destroot {
45    xinstall -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -m 644 -W ${worksrcpath} AUTHORS README TODO ${destroot}${prefix}/share/doc/${name}
47    xinstall -m 755 -W ${worksrcpath} git-bzr ${destroot}${prefix}/bin/
48}
49
50universal_variant   no
51
52livecheck.type      regex
53livecheck.url       http://github.com/kfish/${name}/downloads
54livecheck.regex     {v(\d+(?:\.\d+)*)}