Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,18 +1,18 @@
$NetBSD: patch-tools_install.py,v 1.3 2015/09/09 00:04:54 ryoon Exp $
$NetBSD: patch-tools_install.py,v 1.4 2016/01/21 11:45:30 fhajny Exp $
Install man pages under the right directory.
--- tools/install.py.orig 2015-09-08 15:30:49.000000000 +0000
--- tools/install.py.orig 2016-01-21 01:08:27.000000000 +0000
+++ tools/install.py
@@ -141,9 +141,9 @@ def files(action):
@@ -141,10 +141,7 @@ def files(action):
action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
- if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
- action(['doc/node.1'], 'man/man1/')
+ action(['doc/node.1'], '@PKGMANDIR@/man1/')
else:
- else:
- action(['doc/node.1'], 'share/man/man1/')
+ action(['doc/node.1'], '@PKGMANDIR@/man1/')
+ action(['doc/node.1'], os.environ.get('PKGMANDIR') + '/man1/')
if 'true' == variables.get('node_install_npm'): npm_files(action)