mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
security/enchive: Sanitize MANPREFIX
Approved by: portmgr (blanket)
This commit is contained in:
parent
b38014ae10
commit
5a1d3b65ef
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue