git: 413b6d107e11 - main - mail/fetchmailconf: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 17:36:03 UTC
The branch main has been updated by bofh:

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

commit 413b6d107e1170449c74665f3557892ee14fee0d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 17:08:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 17:35:38 +0000

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

diff --git a/mail/fetchmailconf/Makefile b/mail/fetchmailconf/Makefile
index 442a37e5eefe..4d98b71e3041 100644
--- a/mail/fetchmailconf/Makefile
+++ b/mail/fetchmailconf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fetchmailconf
-PORTREVISION=	0
+PORTREVISION=	1
 DISTNAME=	fetchmail-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
 # NOTE: MASTER_SITES in ../fetchmail must NOT use the $PORTNAME variable,
 # else _this_ port (fetchmailconf) becomes unfetchable
@@ -20,6 +20,7 @@ USES=		python shebangfix tar:xz
 USE_PYTHON=	py3kplist
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	PKG_CONFIG=:
 ALL_TARGET=	fetchmailconf
 INSTALL_TARGET=	install-data-am install-nodist_binSCRIPTS install-man
@@ -39,7 +40,7 @@ post-install:
 		${PYTHON_CMD} ${WRKSRC}/fetchmailconf.py -V
 # then install:
 		${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin
-		${RM} ${STAGEDIR}${PREFIX}/man/man1/fetchmail.1*
+		${RM} ${STAGEDIR}${PREFIX}/share/man/man1/fetchmail.1*
 
 MASTERDIR=	${.CURDIR}/../fetchmail
 
diff --git a/mail/fetchmailconf/pkg-plist b/mail/fetchmailconf/pkg-plist
index a9877296c1e9..c0b5b8dfd13e 100644
--- a/mail/fetchmailconf/pkg-plist
+++ b/mail/fetchmailconf/pkg-plist
@@ -1,5 +1,5 @@
 bin/fetchmailconf
-man/man1/fetchmailconf.1.gz
+share/man/man1/fetchmailconf.1.gz
 %%PYTHON_SITELIBDIR%%/fetchmailconf.py
 %%PYTHON_SITELIBDIR%%/fetchmailconf.pyc
 %%PYTHON_SITELIBDIR%%/fetchmailconf.pyo