git: 9d2a58fa6bdd - main - misc/help2man: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 16:00:09 UTC
The branch main has been updated by bofh:

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

commit 9d2a58fa6bdd005f0efad9b246fc54f37c2391b7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 15:35:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 15:59:55 +0000

    misc/help2man: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 misc/help2man/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/misc/help2man/Makefile b/misc/help2man/Makefile
index 8d4b7f78ffd6..295dc9e89efa 100644
--- a/misc/help2man/Makefile
+++ b/misc/help2man/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	help2man
 PORTVERSION=	1.49.3
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	GNU
 
@@ -13,10 +14,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		gmake localbase perl5 tar:xz
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 INFO=		help2man
 PLIST_FILES=	bin/help2man \
-		man/man1/help2man.1.gz
+		share/man/man1/help2man.1.gz
 
 OPTIONS_DEFINE=	NLS
 
@@ -33,7 +35,7 @@ NLS_INFO+=		help2man-${lang}
 .endfor
 
 .for lang in da de el eo es fi fr hr hu it ja ko nb pl pt_BR ro ru sr sv ta uk vi zh_CN
-NLS_PLIST_FILES+=	man/${lang}/man1/help2man.1.gz \
+NLS_PLIST_FILES+=	share/man/${lang}/man1/help2man.1.gz \
 			share/locale/${lang}/LC_MESSAGES/help2man.mo
 .endfor