Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2024 17:59:23 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ee1e4265a668 - 2024Q1 - www/node20: Moved man to share/man
Message-ID:  <202403091759.429HxNVc006643@gitrepo.freebsd.org>

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

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

commit ee1e4265a668a20613926132412f3df512eaac68
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 12:26:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 17:47:00 +0000

    www/node20: Moved man to share/man
    
    Approved by:    portmgr (blanket)
    
    (cherry picked from commit 94cb251581ce0b94a40dee0728884367c3a4a82d)
---
 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



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