git: b0b94ba36fcd - 2024Q1 - www/node21: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 17:59:28 UTC
The branch 2024Q1 has been updated by sunpoet:

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

commit b0b94ba36fcd9bcc119251a5d304d9c18db740e2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:30:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 17:47:02 +0000

    www/node21: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
    
    (cherry picked from commit bb170b84f419ee666a10b78306546c1e9a38db72)
---
 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