git: c5a5598b0bce - main - mail/batv-milter: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 00:29:09 UTC
The branch main has been updated by bofh:

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

commit c5a5598b0bce65c698352f378e7121657fbe6e99
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:09:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:28:59 +0000

    mail/batv-milter: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 mail/batv-milter/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/mail/batv-milter/Makefile b/mail/batv-milter/Makefile
index 2edfef33d857..f0327c32f8ec 100644
--- a/mail/batv-milter/Makefile
+++ b/mail/batv-milter/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	batv-milter
 PORTVERSION=	0.5.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail
 MASTER_SITES=	SF
 
@@ -19,7 +19,7 @@ MAKE_ARGS=	UBINOWN=${UID} UBINGRP=${GID}
 CFLAGS+=	-D_WANT_SEMUN
 
 WCONF=		${WRKSRC}/devtools/Site
-PLIST_FILES=	bin/batv-filter man/man8/batv-filter.8.gz
+PLIST_FILES=	bin/batv-filter share/man/man8/batv-filter.8.gz
 PORTDOCS=	INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \
 		draft-levine-smtp-batv-01.txt
 
@@ -52,7 +52,7 @@ post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/batv-filter
 .endif
 	@${RM} ${MANPREFIX}/man/cat8/batv-filter.8 ${MANPREFIX}/man/cat8/batv-filter.8.gz
-	${INSTALL_MAN} ${WRKSRC}/*/batv-filter.8 ${STAGEDIR}${MANPREFIX}/man/man8/
+	${INSTALL_MAN} ${WRKSRC}/*/batv-filter.8 ${STAGEDIR}${PREFIX}/share/man/man8/
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}