2019-12-09 21:05:40 +01:00
|
|
|
$NetBSD: patch-tools_install.py,v 1.1 2019/12/09 20:05:40 adam Exp $
|
2016-10-25 21:54:00 +02:00
|
|
|
|
|
|
|
Install man pages under the right directory.
|
|
|
|
|
2019-12-09 21:05:40 +01:00
|
|
|
--- tools/install.py.orig 2017-04-11 15:48:50.000000000 +0000
|
2016-10-25 21:54:00 +02:00
|
|
|
+++ tools/install.py
|
2017-05-03 13:03:43 +02:00
|
|
|
@@ -136,10 +136,7 @@ def files(action):
|
|
|
|
action(['deps/v8/tools/lldbinit'], 'share/doc/node/')
|
|
|
|
action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
|
2016-10-25 21:54:00 +02:00
|
|
|
|
|
|
|
- if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
|
|
|
|
- action(['doc/node.1'], 'man/man1/')
|
|
|
|
- else:
|
|
|
|
- action(['doc/node.1'], 'share/man/man1/')
|
|
|
|
+ action(['doc/node.1'], os.environ.get('PKGMANDIR') + '/man1/')
|
|
|
|
|
|
|
|
if 'true' == variables.get('node_install_npm'): npm_files(action)
|
|
|
|
|