diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2005-10-19 14:24:57 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2005-10-19 14:24:57 +0000 |
commit | 090d6268790fdd790e63a5de97ffe7cabb6a22be (patch) | |
tree | 6bc34781941511f541d397b2a5c51d969f20825d /security/hostsentry/Makefile | |
parent | Update to 051018. (diff) |
. respect PREFIX
. bump PORTREVISION
PR: 87660, 87638
Reported by: dosirak via kris
Submitted by: Michael Ranner <mranner@inode.at> (maintainer)
Diffstat (limited to 'security/hostsentry/Makefile')
-rw-r--r-- | security/hostsentry/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/security/hostsentry/Makefile b/security/hostsentry/Makefile index 700fbc9efc0a..27e667daeb99 100644 --- a/security/hostsentry/Makefile +++ b/security/hostsentry/Makefile @@ -7,7 +7,7 @@ PORTNAME= hostsentry PORTVERSION= 0.02 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ftp://ftp.netsys.com/len/ \ ${MASTER_SITE_PACKETSTORM} @@ -19,11 +19,15 @@ COMMENT= A Login Anomaly Detector RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm USE_PYTHON= yes +USE_REINPLACE= yes PKGMESSAGE= ${WRKDIR}/pkg-message post-patch: @${SED} 's|%%PREFIX%%|${PREFIX}|' ${.CURDIR}/pkg-message > ${PKGMESSAGE} + @${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," \ + ${WRKSRC}/* + @${RM} ${WRKSRC}/*.bak post-install: .if !defined(NOPORTDOCS) |