git: 0fe3f800ee3b - main - sysutils/file: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 30 Jan 2024 22:36:22 UTC
The branch main has been updated by bofh:

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

commit 0fe3f800ee3b4e4e48831f837a493d7d3cc73555
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 22:30:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 22:35:52 +0000

    sysutils/file: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/file/Makefile  | 2 ++
 sysutils/file/pkg-plist | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/sysutils/file/Makefile b/sysutils/file/Makefile
index 1971ab49096b..9efd1b74116a 100644
--- a/sysutils/file/Makefile
+++ b/sysutils/file/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	file
 PORTVERSION=	5.39
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://astron.com/pub/file/ \
 		https://www.nic.funet.fi/pub/mirrors/ftp.astron.com/pub/file/ \
@@ -18,6 +19,7 @@ CPE_VENDOR=	${PORTNAME}_project
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-fsect-man5
 MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
 TEST_TARGET=	check
diff --git a/sysutils/file/pkg-plist b/sysutils/file/pkg-plist
index 063da253961e..d541557ca966 100644
--- a/sysutils/file/pkg-plist
+++ b/sysutils/file/pkg-plist
@@ -4,7 +4,7 @@ lib/libmagic.so
 lib/libmagic.so.1
 lib/libmagic.so.1.0.0
 libdata/pkgconfig/libmagic.pc
-man/man1/file.1.gz
-man/man3/libmagic.3.gz
-man/man5/magic.5.gz
+share/man/man1/file.1.gz
+share/man/man3/libmagic.3.gz
+share/man/man5/magic.5.gz
 %%DATADIR%%/magic.mgc