mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
parent
eecca7330e
commit
474e9f95e7
@ -87,6 +87,5 @@ post-configure:
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
|
||||
${MV} ${STAGEDIR}${PREFIX}/man/man1/node.1 ${STAGEDIR}${PREFIX}/share/man/man1/node.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
www/node21/files/patch-tools-install.py
Normal file
11
www/node21/files/patch-tools-install.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- tools/install.py.orig 2024-04-10 12:46:15 UTC
|
||||
+++ tools/install.py
|
||||
@@ -182,7 +182,7 @@ def files(options, action):
|
||||
action(options, [os.path.join(options.v8_dir, 'tools/gdbinit')], 'share/doc/node/')
|
||||
action(options, [os.path.join(options.v8_dir, 'tools/lldb_commands.py')], 'share/doc/node/')
|
||||
|
||||
- if 'freebsd' in sys.platform or 'openbsd' in sys.platform:
|
||||
+ if 'openbsd' in sys.platform:
|
||||
action(options, ['doc/node.1'], 'man/man1/')
|
||||
else:
|
||||
action(options, ['doc/node.1'], 'share/man/man1/')
|
Loading…
Reference in New Issue
Block a user