security/caesarcipher: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-21 23:44:18 +01:00
parent e204938287
commit 64ef1fa370

View file

@ -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>