diff options
Diffstat (limited to 'security/logcheck/Makefile')
-rw-r--r-- | security/logcheck/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 0a172704913f..558339edfd9e 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -14,6 +14,10 @@ MAINTAINER= ports@freebsddiary.org PKGMESSAGE= ${WRKDIR}/MESSAGE +pre-configure: + ${PERL} -pi -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g" ${WRKSRC}/Makefile ${WRKSRC}/systems/freebsd/logcheck.sh + ${PERL} -pi -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile + post-build: @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} |