blob: 96cee6cfa415a4f2e3ef74ec9e13c98be6daad4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-aa,v 1.2 2010/06/19 11:33:46 sborrill Exp $
--- setup.py.orig 2008-11-04 11:12:26.000000000 -0500
+++ setup.py
@@ -29,7 +29,7 @@ import stat
import string
import sys
-Version = "1.3.0"
+Version = os.getenv("PKGVERSION_NOREV")
man_pages = [
'scons.1',
@@ -353,7 +353,7 @@ class install_data(_install_data):
if is_win32:
dir = 'Doc'
else:
- dir = os.path.join('man', 'man1')
+ dir = os.path.join(os.getenv("PKGMANDIR"), 'man1')
self.data_files = [(dir, man_pages)]
man_dir = os.path.join(self.install_dir, dir)
msg = "Installed SCons man pages into %s" % man_dir
|