diff options
author | lme <lme@FreeBSD.org> | 2012-02-03 13:31:39 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2012-02-03 13:31:39 +0800 |
commit | c6a5caa72e3c5c7a16922dca5f395f23a66b7505 (patch) | |
tree | d3237246a09dca823d3918af161002e71d69bf84 /net-mgmt | |
parent | 90e01624445bb56162b126b0770f97686373ac1b (diff) | |
download | freebsd-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/Makefile | 9 |
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 |