aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-03-20 04:35:40 +0800
committermiwi <miwi@FreeBSD.org>2009-03-20 04:35:40 +0800
commitb59acca4479ddd26d9a8229f4e3fff7d00c6cd22 (patch)
tree3591be38aa266076c7d40b28f85cef19e41c6c6c
parent2811a084c125564db7d8e8c0d03e151b92f7f8c0 (diff)
downloadfreebsd-ports-gnome-b59acca4479ddd26d9a8229f4e3fff7d00c6cd22.tar.gz
freebsd-ports-gnome-b59acca4479ddd26d9a8229f4e3fff7d00c6cd22.tar.zst
freebsd-ports-gnome-b59acca4479ddd26d9a8229f4e3fff7d00c6cd22.zip
- Fix build
Reported by: pavbot
-rw-r--r--security/rkhunter/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/rkhunter/Makefile b/security/rkhunter/Makefile
index 4890db1d089e..8b1ce1d0149c 100644
--- a/security/rkhunter/Makefile
+++ b/security/rkhunter/Makefile
@@ -38,6 +38,10 @@ RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
RUN_DEPENDS+= nmap:${PORTSDIR}/security/nmap
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|{SHAREDIR}/man/man8|{PREFIX}/man/man8|g' \
+ ${WRKSRC}/installer.sh
+
do-install:
cd ${WRKSRC} && ./installer.sh --layout custom ${PREFIX} --install
${INSTALL_MAN} ${WRKSRC}/files/rkhunter.8 \