git: ae4ebcac1b5c - main - misc/hello: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

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

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

commit ae4ebcac1b5cc0dadc3f413d9ecd18aa8f082bf9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:26:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:34 +0000

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

diff --git a/misc/hello/Makefile b/misc/hello/Makefile
index ef1158dafc02..d24372ef036f 100644
--- a/misc/hello/Makefile
+++ b/misc/hello/Makefile
@@ -12,7 +12,9 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		charsetfix gmake perl5
 USE_PERL5=	build
+
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 INFO=		hello
 
diff --git a/misc/hello/pkg-plist b/misc/hello/pkg-plist
index 13a671f9c937..19c85c0506bf 100644
--- a/misc/hello/pkg-plist
+++ b/misc/hello/pkg-plist
@@ -1,5 +1,4 @@
 bin/hello
-man/man1/hello.1.gz
 %%NLS%%share/locale/ast/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/ca/LC_MESSAGES/hello.mo
@@ -44,3 +43,4 @@ man/man1/hello.1.gz
 %%NLS%%share/locale/vi/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/hello.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/hello.mo
+share/man/man1/hello.1.gz