git: b8985b62e7c8 - main - mail/mail-expire: Sanitize MANPREFIX

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

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

commit b8985b62e7c8e69ce1bf01c203001a468e794263
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 00:05:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 00:06:47 +0000

    mail/mail-expire: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 mail/mail-expire/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail/mail-expire/Makefile b/mail/mail-expire/Makefile
index d1bf2302a1a4..af5e4ebad7ab 100644
--- a/mail/mail-expire/Makefile
+++ b/mail/mail-expire/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mail-expire
 PORTVERSION=	0.9.2
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	DEBIAN
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -18,10 +19,10 @@ USES=		gmake perl5 shebangfix tar:xz
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 NO_ARCH=	yes
 SHEBANG_FILES=	mail-expire
-PLIST_FILES=	bin/mail-expire ${MANPREFIX}/man/man1/mail-expire.1.gz
+PLIST_FILES=	bin/mail-expire ${PREFIX}/share/man/man1/mail-expire.1.gz
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/mail-expire ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/mail-expire.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/mail-expire.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>