git: 5a1d3b65ef19 - main - security/enchive: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 22:32:37 UTC
The branch main has been updated by bofh:

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

commit 5a1d3b65ef190eb6669cc7cbf346542323982c8d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:27:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:32:12 +0000

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

diff --git a/security/enchive/Makefile b/security/enchive/Makefile
index ee69c1f994e5..1682950a67bd 100644
--- a/security/enchive/Makefile
+++ b/security/enchive/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	enchive
 PORTVERSION=	3.5
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	acm@FreeBSD.org
@@ -17,7 +18,7 @@ ALL_TARGET=	${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME} \
 		%%DATADIR%%/UNLICENSE \
-		man/man1/${PORTNAME}.1.gz
+		share/man/man1/${PORTNAME}.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CC|CC?|g' -e 's|^CFLAGS|CFLAGS?|g' ${WRKSRC}/Makefile
@@ -26,6 +27,6 @@ do-install:
 	@${MKDIR} ${STAGEDIR}/${DATADIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/UNLICENSE ${STAGEDIR}/${DATADIR}/UNLICENSE
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}/${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>