1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name git-bzr |
---|
6 | version 1.1 |
---|
7 | revision 48 |
---|
8 | set commitish 61d60075fb548f1d49d54b1a98b8b568e68ecc44 |
---|
9 | set short_commitish [string range ${commitish} 0 6] |
---|
10 | categories devel |
---|
11 | platforms darwin |
---|
12 | maintainers unknown |
---|
13 | |
---|
14 | # To update, open <http://github.com/kfish/git-bzr> in a web browser |
---|
15 | # then download a tar.gz for the most recent commit (or the commit |
---|
16 | # for a release). The file name will be formatted like ${distname} |
---|
17 | # with a .tar.gz extension. Use the version and revision from the |
---|
18 | # file name and the long commitish from the web page to update the |
---|
19 | # fields above, and use the downloaded file to update the checksums |
---|
20 | # below. |
---|
21 | |
---|
22 | description A bidirectional Git - Bazaar gateway |
---|
23 | long_description The git-bzr script allows you to add bazaar repositories \ |
---|
24 | as git branches in your git repository. After that, you \ |
---|
25 | may fetch the Bazaar repo, make some changes, and push \ |
---|
26 | it back into Bazaar. |
---|
27 | |
---|
28 | homepage http://github.com/kfish/${name} |
---|
29 | master_sites http://github.com/kfish/${name}/tarball |
---|
30 | distname kfish-${name}-v${version}-${revision}-g${short_commitish} |
---|
31 | distfiles ${commitish} |
---|
32 | |
---|
33 | checksums ${commitish} md5 4a4a46f525b3ee9b04c9df48077df53f \ |
---|
34 | ${commitish} sha1 5ca7a05311f981db28b4c4f1b8e308288ea4f000 \ |
---|
35 | ${commitish} rmd160 5acf3b5620dbc062a712d15cf153be26f47d0869 |
---|
36 | |
---|
37 | depends_run-append port:bzr \ |
---|
38 | port:bzr-fastimport \ |
---|
39 | port:git-core |
---|
40 | |
---|
41 | use_configure no |
---|
42 | # Fix the source root since it doesn't match ${distname} when unpacked. |
---|
43 | build { system "cd ${workpath} && mv -f kfish-${name}-${short_commitish} ${distname}" } |
---|
44 | destroot.cmd install |
---|
45 | destroot.target git-bzr |
---|
46 | destroot.destdir ${destroot}${prefix}/bin |
---|
47 | |
---|
48 | universal_variant no |
---|
49 | |
---|
50 | livecheck.type regex |
---|
51 | livecheck.url http://github.com/kfish/${name}/downloads |
---|
52 | livecheck.regex {v(\d+(?:\.\d+)*)} |
---|