ports/www/node18/files/patch-tools_install.py
Muhammad Moinur Rahman 99ea45a72a
www/node18: Moved man to share/man
Approved by:    portmgr (blanket)
2024-01-30 12:49:31 +01:00

11 lines
425 B
Python

--- tools/install.py.orig 2024-01-30 11:17:06 UTC
+++ tools/install.py
@@ -186,7 +186,7 @@ def files(action):
action(['deps/v8/tools/gdbinit'], 'share/doc/node/')
action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/')
- if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
+ if 'openbsd' in sys.platform:
action(['doc/node.1'], 'man/man1/')
else:
action(['doc/node.1'], 'share/man/man1/')