summaryrefslogtreecommitdiff
path: root/www/loggerhead/patches/patch-aa
blob: 0f19a88a3fea754fbdeb34f49793a813e3fd3f33 (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.2 2008/12/26 19:51:56 epg Exp $

--- setup.py.orig	2008-12-22 11:58:32.000000000 -0800
+++ setup.py
@@ -19,6 +19,7 @@
 """Loggerhead is a web viewer for projects in bazaar"""
 
 
+import os
 from distutils.core import setup
 import loggerhead
 
@@ -62,7 +63,7 @@ setup(
                                    "static/javascript/yui/build/yui-base/*",
                                    "static/images/*"]},
     data_files = [
-        ('share/man/man1', ['start-loggerhead.1',
+        (os.getenv('PKGMANDIR', 'man') + '/man1', ['start-loggerhead.1',
                             'stop-loggerhead.1',
                             'serve-branches.1']),
         ('share/doc/loggerhead', ['loggerhead.conf.example']),