git: 8134394b7dee - main - textproc/wdiff: use ${PREFIX}/share/man

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

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

commit 8134394b7dee3d55d06d0c11bc3448c72bc396e5
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-12 20:15:20 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-12 20:15:20 +0000

    textproc/wdiff: use ${PREFIX}/share/man
---
 textproc/wdiff/Makefile  | 3 ++-
 textproc/wdiff/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/textproc/wdiff/Makefile b/textproc/wdiff/Makefile
index d7d5d20474eb..25df46b563b3 100644
--- a/textproc/wdiff/Makefile
+++ b/textproc/wdiff/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wdiff
 PORTVERSION=	1.2.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	GNU
 
@@ -13,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		charsetfix makeinfo
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 INFO=		wdiff
 
diff --git a/textproc/wdiff/pkg-plist b/textproc/wdiff/pkg-plist
index 9c86b6658043..47c409be07bf 100644
--- a/textproc/wdiff/pkg-plist
+++ b/textproc/wdiff/pkg-plist
@@ -1,5 +1,4 @@
 bin/wdiff
-man/man1/wdiff.1.gz
 %%NLS%%share/locale/af/LC_MESSAGES/wdiff-gnulib.mo
 %%NLS%%share/locale/be/LC_MESSAGES/wdiff-gnulib.mo
 %%NLS%%share/locale/bg/LC_MESSAGES/wdiff-gnulib.mo
@@ -69,3 +68,4 @@ man/man1/wdiff.1.gz
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/wdiff.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/wdiff-gnulib.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/wdiff.mo
+share/man/man1/wdiff.1.gz