git: a2870b91fb12 - main - devel/gperf: use ${PREFIX}/share/man

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 20:19:03 UTC
The branch main has been updated by dinoex:

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

commit a2870b91fb12048395708eef1bb31d8dcd8d14fa
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:18:54 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:18:54 +0000

    devel/gperf: use ${PREFIX}/share/man
---
 devel/gperf/Makefile  | 2 ++
 devel/gperf/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile
index ee3509a5455f..579f902d5e19 100644
--- a/devel/gperf/Makefile
+++ b/devel/gperf/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gperf
 PORTVERSION=	3.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNU
 
@@ -20,6 +21,7 @@ CPE_VENDOR=	${CPE_PRODUCT}_project
 CPE_PRODUCT=	${PORTNAME}tools
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--docdir=${DOCSDIR}
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INFO=		gperf
 TEST_TARGET=	check
 
diff --git a/devel/gperf/pkg-plist b/devel/gperf/pkg-plist
index d7ef44994977..4048c8c3f103 100644
--- a/devel/gperf/pkg-plist
+++ b/devel/gperf/pkg-plist
@@ -1,3 +1,3 @@
 bin/gperf
-man/man1/gperf.1.gz
 %%DOCSDIR%%/gperf.html
+share/man/man1/gperf.1.gz