aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-27 12:26:33 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-27 12:36:36 +0000
commit94cb251581ce0b94a40dee0728884367c3a4a82d (patch)
tree56085b9f59b6cc6d69b5afc2b1b77126928e4103
parentf3442369f5b794e460179b23d55745c23edfd6e1 (diff)
downloadports-94cb251581ce0b94a40dee0728884367c3a4a82d.tar.gz
ports-94cb251581ce0b94a40dee0728884367c3a4a82d.zip
www/node20: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--www/node20/Makefile2
-rw-r--r--www/node20/files/patch-tools_install.py11
-rw-r--r--www/node20/pkg-plist2
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