Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 10:22:50 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 474e9f95e73e - main - www/node21: Fix PLIST after 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
Message-ID:  <202405281022.44SAMouH028831@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=474e9f95e73e533998e957cd2e1153a6cb921345

commit 474e9f95e73e533998e957cd2e1153a6cb921345
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-28 10:00:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 10:21:26 +0000

    www/node21: Fix PLIST after 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
    
    PR:             279159
    Reported by:    diizzy
---
 www/node21/Makefile                     |  1 -
 www/node21/files/patch-tools-install.py | 11 +++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/www/node21/Makefile b/www/node21/Makefile
index 58b2001248fa..ff868e593ebd 100644
--- a/www/node21/Makefile
+++ b/www/node21/Makefile
@@ -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>
diff --git a/www/node21/files/patch-tools-install.py b/www/node21/files/patch-tools-install.py
new file mode 100644
index 000000000000..15ca34ade403
--- /dev/null
+++ b/www/node21/files/patch-tools-install.py
@@ -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/')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405281022.44SAMouH028831>