pkgsrc/www/loggerhead/patches/patch-aa

22 lines
746 B
Text
Raw Normal View History

$NetBSD: patch-aa,v 1.3 2011/03/26 08:02:38 obache Exp $
--- setup.py.orig 2011-03-24 23:14:27.000000000 +0000
+++ setup.py
@@ -18,6 +18,7 @@
"""Loggerhead is a web viewer for projects in bazaar"""
+import os
from distutils.core import setup
import loggerhead
@@ -64,7 +65,7 @@ setup(
"static/javascript/yui/build/yui-base/*",
"static/images/*"]},
data_files = [
- ('share/man/man1', ['start-loggerhead.1',
+ (os.getenv('PKGMANDIR', 'share/man') + '/man1', ['start-loggerhead.1',
'stop-loggerhead.1',
'serve-branches.1']),
('share/doc/loggerhead', ['loggerhead.conf.example']),