aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2012-02-03 13:31:39 +0800
committerlme <lme@FreeBSD.org>2012-02-03 13:31:39 +0800
commitc6a5caa72e3c5c7a16922dca5f395f23a66b7505 (patch)
treed3237246a09dca823d3918af161002e71d69bf84 /net-mgmt
parent90e01624445bb56162b126b0770f97686373ac1b (diff)
downloadfreebsd-ports-gnome-c6a5caa72e3c5c7a16922dca5f395f23a66b7505.tar.gz
freebsd-ports-gnome-c6a5caa72e3c5c7a16922dca5f395f23a66b7505.tar.zst
freebsd-ports-gnome-c6a5caa72e3c5c7a16922dca5f395f23a66b7505.zip
- Fix build with UNHANDLED_HACK [1]
- Patch ping syntax and s/Linux/FreeBSD/ by default - Bump PORTREVISION Noticed by: Kurt Jaeger [1]
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