summaryrefslogtreecommitdiff
path: root/www/loggerhead/patches/patch-aa
blob: 473a23f1e694f7bd728d93c9b99d746be5598ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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']),