git: e175ea3baf14 - main - mail/filtermail: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 11 Feb 2024 18:29:04 UTC
The branch main has been updated by arrowd:

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

commit e175ea3baf141732749b71bef80558ea0c808bd4
Author:     Mike Clarke <jmc-freebsd2@milibyte.co.uk>
AuthorDate: 2024-02-11 17:49:50 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-02-11 18:27:42 +0000

    mail/filtermail: Move manpages to share/man
---
 mail/filtermail/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/mail/filtermail/Makefile b/mail/filtermail/Makefile
index 820d8179333c..04414f314565 100644
--- a/mail/filtermail/Makefile
+++ b/mail/filtermail/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	filtermail
 PORTVERSION=	0.8.6
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://sourceforge.net/projects/mailfilter/files/Mailfilter/
 DISTNAME=	mailfilter-${PORTVERSION}
@@ -24,12 +25,13 @@ EXTRACT_AFTER_ARGS=	| ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filterm
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 MAKE_JOBS_UNSAFE=	yes
 
 PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/${PORTNAME}.1.gz \
-		man/man5/${PORTNAME}ex.5.gz \
-		man/man5/${PORTNAME}rc.5.gz
+		share/man/man1/${PORTNAME}.1.gz \
+		share/man/man5/${PORTNAME}ex.5.gz \
+		share/man/man5/${PORTNAME}rc.5.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|filtermail.sourceforge|mailfilter.sourceforge|g' ${WRKSRC}/README