1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

www/node21: Fix PLIST after 9fd7ee1cdf

PR:		279159
Reported by:	diizzy
This commit is contained in:
Po-Chuan Hsieh 2024-05-28 18:00:05 +08:00
parent eecca7330e
commit 474e9f95e7
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 11 additions and 1 deletions

View File

@ -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>

View 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/')