pkgsrc/lang/nodejs10/patches/patch-tools_install.py
adam 48c0cb6a3b nodejs: added version 12.13.1, removed version 6.14.3
Moved nodejs to nodejs10 - version 10.17.0

Version 12.13.1 'Erbium' (LTS):

Notable changes
Experimental support for building Node.js with Python 3 is improved.
ICU time zone data is updated to version 2019c. This fixes the date offset in Brazil.
2019-12-09 20:05:40 +00:00

18 lines
661 B
Python

$NetBSD: patch-tools_install.py,v 1.1 2019/12/09 20:05:40 adam Exp $
Install man pages under the right directory.
--- tools/install.py.orig 2017-04-11 15:48:50.000000000 +0000
+++ tools/install.py
@@ -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/')
- 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)