set branch [join [lrange [split ${version} .] 0 1] .]
description Web viewer for projects in Bazaar
long_description Loggerhead is a web viewer for projects in Bazaar. It \
can be used to navigate a branch history, \
annotate files, view patches, perform searches, \
etc. It's originally based on bazaar-webserve, \
which is itself based on hgweb for Mercurial.
homepage https://launchpad.net/loggerhead
master_sites ${homepage}/${branch}/${version}/+download/
checksums md5 bef897d4674967ef835d1183d587d34f \
rmd160 a03a119ff82470cba2bccf215bce8c468daf7357 \
sha256 f66123abef4e06b893fe91e2c2b367dd9f17d5f523096ff37f33178d004ffdb4
python.default_version 27
depends_lib-append port:py${python.version}-setuptools \
port:py${python.version}-paste \
port:py${python.version}-simpletal \
xinstall -m 644 -W ${worksrcpath} loggerhead.conf.example \
README COPYING.txt NEWS ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} serve-branches.1 \
${destroot}${prefix}/share/man/man1