git: bb170b84f419 - main - www/node21: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:20:21 UTC
The branch main has been updated by sunpoet:

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

commit bb170b84f419ee666a10b78306546c1e9a38db72
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:30:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:49 +0000

    www/node21: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 www/node21/Makefile  | 1 +
 www/node21/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/node21/Makefile b/www/node21/Makefile
index d0b6b1020e54..f32e768629f3 100644
--- a/www/node21/Makefile
+++ b/www/node21/Makefile
@@ -85,5 +85,6 @@ 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/pkg-plist b/www/node21/pkg-plist
index 5bab65c1a0e0..c26599edfe88 100644
--- a/www/node21/pkg-plist
+++ b/www/node21/pkg-plist
@@ -2370,6 +2370,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
 %%PORTDOCS%%%%DOCSDIR%%/gdbinit
 %%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py
+@(,,444) share/man/man1/node.1.gz