Skip to content

Commit

Permalink
security/enchive: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 21, 2024
1 parent b38014a commit 5a1d3b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions security/enchive/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= enchive
PORTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= security

MAINTAINER= acm@FreeBSD.org
Expand All @@ -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
Expand All @@ -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>

0 comments on commit 5a1d3b6

Please sign in to comment.