1 | # $Id: Portfile 58032 2009-09-21 05:03:15Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python26 1.0 |
---|
5 | |
---|
6 | name loggerhead |
---|
7 | version 1.17 |
---|
8 | revision 1 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | categories www devel |
---|
11 | platforms darwin |
---|
12 | maintainers gmail.com:jlaurila |
---|
13 | worksrcdir loggerhead |
---|
14 | |
---|
15 | description Web viewer for projects in Bazaar |
---|
16 | long_description Loggerhead is a web viewer for projects in Bazaar. It \ |
---|
17 | can be used to navigate a branch history, \ |
---|
18 | annotate files, view patches, perform searches, \ |
---|
19 | etc. It's originally based on bazaar-webserve, \ |
---|
20 | which is itself based on hgweb for Mercurial. |
---|
21 | license GPLv2+ |
---|
22 | |
---|
23 | homepage https://launchpad.net/loggerhead |
---|
24 | master_sites ${homepage}/${branch}/${version}/+download/ |
---|
25 | |
---|
26 | checksums md5 cdddaf4497bb9632f9c9ea90b4713c09 \ |
---|
27 | sha1 910b5f569c8647294cabfa45698909b1fffda1ee \ |
---|
28 | rmd160 847e3c12eff66e9fdf617e0ef7523f7f74e3c82c |
---|
29 | |
---|
30 | depends_lib-append port:py26-setuptools \ |
---|
31 | port:py26-paste \ |
---|
32 | port:py26-simpletal \ |
---|
33 | port:bzr |
---|
34 | post-destroot { |
---|
35 | xinstall -m 644 -W ${worksrcpath} loggerhead.conf.example \ |
---|
36 | README COPYING.txt NEWS ${destroot}${prefix}/share/doc/${name} |
---|
37 | xinstall -m 644 -W ${worksrcpath} serve-branches.1 \ |
---|
38 | ${destroot}${prefix}/share/man/man1 |
---|
39 | ln -s ${python.prefix}/bin/serve-branches ${destroot}${prefix}/bin/serve-branches |
---|
40 | } |
---|