git: 94cb251581ce - main - www/node20: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Jan 2024 12:40:19 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=94cb251581ce0b94a40dee0728884367c3a4a82d
commit 94cb251581ce0b94a40dee0728884367c3a4a82d
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 12:26:33 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 12:36:36 +0000
www/node20: Moved man to share/man
Approved by: portmgr (blanket)
---
www/node20/Makefile | 2 +-
www/node20/files/patch-tools_install.py | 11 +++++++++++
www/node20/pkg-plist | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/www/node20/Makefile b/www/node20/Makefile
index 450eacd2335b..0e89523b6df5 100644
--- a/www/node20/Makefile
+++ b/www/node20/Makefile
@@ -1,7 +1,7 @@
PORTNAME= node
PORTVERSION= ${NODEJS_PORTVERSION}
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/
PKGNAMESUFFIX= 20
diff --git a/www/node20/files/patch-tools_install.py b/www/node20/files/patch-tools_install.py
new file mode 100644
index 000000000000..80fdb3a3bae4
--- /dev/null
+++ b/www/node20/files/patch-tools_install.py
@@ -0,0 +1,11 @@
+--- tools/install.py.orig 2024-01-27 12:14:48 UTC
++++ tools/install.py
+@@ -181,7 +181,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/')
diff --git a/www/node20/pkg-plist b/www/node20/pkg-plist
index 73b51f02ccd9..5494f6144d81 100644
--- a/www/node20/pkg-plist
+++ b/www/node20/pkg-plist
@@ -2368,6 +2368,6 @@ lib/node_modules/corepack/shims/yarn.ps1
lib/node_modules/corepack/shims/yarnpkg
lib/node_modules/corepack/shims/yarnpkg.cmd
lib/node_modules/corepack/shims/yarnpkg.ps1
-@(,,444) man/man1/node.1.gz
+@(,,444) share/man/man1/node.1.gz
%%PORTDOCS%%%%DOCSDIR%%/gdbinit
%%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py