1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name git-bzr |
---|
6 | set commitish 61d60075fb548f1d49d54b1a98b8b568e68ecc44 |
---|
7 | set short_commitish [string range ${commitish} 0 6] |
---|
8 | version 1.2~${short_commitish} |
---|
9 | categories devel |
---|
10 | platforms darwin |
---|
11 | maintainers 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 | |
---|
21 | description A bidirectional Git - Bazaar gateway |
---|
22 | long_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 | |
---|
27 | homepage http://github.com/kfish/${name} |
---|
28 | master_sites http://github.com/kfish/${name}/zipball/${commitish}/ |
---|
29 | distname kfish-${name}-v${version}-g${short_commitish} |
---|
30 | worksrcdir kfish-${name}-${short_commitish} |
---|
31 | use_zip yes |
---|
32 | |
---|
33 | checksums md5 1749335fd44d5391816d665f58754ffe \ |
---|
34 | sha1 4f1af023b15afda7ea69f57a36a990ead1682ea5 \ |
---|
35 | rmd160 b607d5325bddaa39a81cebe8bbe6b05e367b363e |
---|
36 | |
---|
37 | depends_run-append port:bzr \ |
---|
38 | port:bzr-fastimport \ |
---|
39 | port:git-core |
---|
40 | |
---|
41 | use_configure no |
---|
42 | build {} |
---|
43 | |
---|
44 | destroot { |
---|
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 | |
---|
50 | universal_variant no |
---|
51 | |
---|
52 | livecheck.type regex |
---|
53 | livecheck.url http://github.com/kfish/${name}/downloads |
---|
54 | livecheck.regex {v(\d+(?:\.\d+)*)} |
---|