source: trunk/dports/www/loggerhead/Portfile @ 108046

Last change on this file since 108046 was 108046, checked in by jmr@…, 4 years ago

loggerhead: update to 1.18.1, use unified python portgroup, mark noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 108046 2013-07-11 06:06:33Z jmr@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                loggerhead
7version             1.18.1
8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          www devel
10platforms           darwin
11supported_archs     noarch
12maintainers         nomaintainer
13
14description         Web viewer for projects in Bazaar
15long_description    Loggerhead is a web viewer for projects in Bazaar. It \
16                    can be used to navigate a branch history, \
17                    annotate files, view patches, perform searches, \
18                    etc. It's originally based on bazaar-webserve, \
19                    which is itself based on hgweb for Mercurial.
20license             GPL-2+
21
22homepage            https://launchpad.net/loggerhead
23master_sites        ${homepage}/${branch}/${version}/+download/
24
25checksums           md5    bef897d4674967ef835d1183d587d34f \
26                    rmd160 a03a119ff82470cba2bccf215bce8c468daf7357 \
27                    sha256 f66123abef4e06b893fe91e2c2b367dd9f17d5f523096ff37f33178d004ffdb4
28
29python.default_version 27
30
31depends_lib-append  port:py${python.version}-setuptools \
32                    port:py${python.version}-paste \
33                    port:py${python.version}-simpletal \
34                    port:bzr
35
36post-destroot {
37    xinstall -m 644 -W ${worksrcpath} loggerhead.conf.example \
38        README COPYING.txt NEWS ${destroot}${prefix}/share/doc/${name}
39    xinstall -m 644 -W ${worksrcpath} serve-branches.1 \
40             ${destroot}${prefix}/share/man/man1
41}
42
43python.link_binaries_suffix
Note: See TracBrowser for help on using the repository browser.