aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2012-02-03 05:31:39 +0000
committerLars Engels <lme@FreeBSD.org>2012-02-03 05:31:39 +0000
commit4623c66863ac1eab05ca7399ced8f28ef2cb9c61 (patch)
tree2ca83e9e666e90b1213db3e13b8c3969f8704dd4 /net-mgmt
parent543624974f82ad55f874dc42074e0fc9a27d51e3 (diff)
downloadports-4623c66863ac1eab05ca7399ced8f28ef2cb9c61.tar.gz
ports-4623c66863ac1eab05ca7399ced8f28ef2cb9c61.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/icinga/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-mgmt/icinga/Makefile b/net-mgmt/icinga/Makefile
index 2b2c45066608..265fd8292b92 100644
--- a/net-mgmt/icinga/Makefile
+++ b/net-mgmt/icinga/Makefile
@@ -7,6 +7,7 @@
PORTNAME= icinga
PORTVERSION= 1.6.1
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF
@@ -109,14 +110,14 @@ CONFIGURE_ARGS+= --disable-event-broker
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's#/bin/ping#/sbin/ping#' ${WRKSRC}/sample-config/cgi.cfg.in
+ @${REINPLACE_CMD} -e 's#Linux#FreeBSD#' ${WRKSRC}/sample-config/icinga.cfg.in
+ @${REINPLACE_CMD} -e 's#775#755#g; s#664#644#g' ${WRKSRC}/html/Makefile.in
.if defined(WITH_UNHANDLED_HACK)
@${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \
-e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/menu.html.in
- @${REINPLACE_CMD} -e 's#Linux#FreeBSD#' ${WRKSRC}/sample-config/icinga.cfg.in
- @${REINPLACE_CMD} -e 's#775#755#g; s#664#644#g' ${WRKSRC}/html/Makefile.in
- @${REINPLACE_CMD} -e 's#/bin/ping#/sbin/ping#' ${WRKSRC}/*
- @${FIND} ${WRKSRC} -name '*.orig' -delete
.endif
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
pre-su-install:
@${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL