git: 64ef1fa37037 - main - security/caesarcipher: Sanitize MANPREFIX

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

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

commit 64ef1fa3703762a754e51f9979bcc1eeed93092a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 22:44:18 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 22:51:36 +0000

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

diff --git a/security/caesarcipher/Makefile b/security/caesarcipher/Makefile
index 56ab5b7169e4..2c783d4fdc13 100644
--- a/security/caesarcipher/Makefile
+++ b/security/caesarcipher/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	caesarcipher
 PORTVERSION=	1.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.olivermahmoudi.com/files/
 
@@ -13,13 +14,13 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST_FILES=	bin/caesarcipher \
-		man/man1/caesarcipher.1.gz
+		share/man/man1/caesarcipher.1.gz
 
 do-build:
 	cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>