git: 116278e31433 - main - textproc/diffutils: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 16:54:41 UTC
The branch main has been updated by bofh:

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

commit 116278e314338da2320ffb9014372eb650610a15
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 15:56:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 16:54:15 +0000

    textproc/diffutils: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 textproc/diffutils/Makefile  | 2 ++
 textproc/diffutils/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile
index 618a83aa2651..aab0a4f24904 100644
--- a/textproc/diffutils/Makefile
+++ b/textproc/diffutils/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	diffutils
 PORTVERSION=	3.8
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	GNU
 
@@ -13,6 +14,7 @@ LIB_DEPENDS=	libsigsegv.so:devel/libsigsegv
 
 USES=		charsetfix cpe tar:xz
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--program-prefix=g
 TEST_TARGET=	check
 CPE_VENDOR=	gnu
diff --git a/textproc/diffutils/pkg-plist b/textproc/diffutils/pkg-plist
index d38d803c2095..a1468ebf3a7d 100644
--- a/textproc/diffutils/pkg-plist
+++ b/textproc/diffutils/pkg-plist
@@ -2,10 +2,10 @@ bin/gcmp
 bin/gdiff
 bin/gdiff3
 bin/gsdiff
-man/man1/gcmp.1.gz
-man/man1/gdiff.1.gz
-man/man1/gdiff3.1.gz
-man/man1/gsdiff.1.gz
+share/man/man1/gcmp.1.gz
+share/man/man1/gdiff.1.gz
+share/man/man1/gdiff3.1.gz
+share/man/man1/gsdiff.1.gz
 %%NLS%%share/locale/bg/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/ca/LC_MESSAGES/diffutils.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/diffutils.mo