Ticket #21432: Portfile.2

File Portfile.2, 1.6 KB (added by jlaurila@…, 15 years ago)

Updated portfile for loggerhead. This one actually works :)

Line 
1# $Id: Portfile 58032 2009-09-21 05:03:15Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python26 1.0
5
6name                loggerhead
7version             1.17
8revision            1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          www devel
11platforms           darwin
12maintainers         gmail.com:jlaurila
13worksrcdir          loggerhead
14
15description         Web viewer for projects in Bazaar
16long_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.
21license             GPLv2+
22
23homepage            https://launchpad.net/loggerhead
24master_sites        ${homepage}/${branch}/${version}/+download/
25
26checksums           md5 cdddaf4497bb9632f9c9ea90b4713c09 \
27                    sha1 910b5f569c8647294cabfa45698909b1fffda1ee \
28                    rmd160 847e3c12eff66e9fdf617e0ef7523f7f74e3c82c
29
30depends_lib-append  port:py26-setuptools \
31                    port:py26-paste \
32                    port:py26-simpletal \
33                    port:bzr
34post-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}