aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-09-22 20:58:41 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-09-22 20:58:41 +0000
commit843095fac5478e166b7e736d5d15969142a2aa50 (patch)
tree0162cfac5a1fe30070e3d11390a6d2304bbc42e6 /net-mgmt/nagios4/Makefile
parentaf1ec3bd95114789b2cb53f5acd8a247cf83a8a2 (diff)
Notes
Diffstat (limited to 'net-mgmt/nagios4/Makefile')
-rw-r--r--net-mgmt/nagios4/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/nagios4/Makefile b/net-mgmt/nagios4/Makefile
index ad490ca699c3..1562b4c0ba0a 100644
--- a/net-mgmt/nagios4/Makefile
+++ b/net-mgmt/nagios4/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= nagios
-PORTVERSION= 4.0.7
-PORTREVISION= 1
+PORTVERSION= 4.0.8
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= 4
@@ -18,7 +17,6 @@ LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
USES= gmake iconv perl5 uidfix
USE_PERL5= build
-USE_AUTOTOOLS= autoconf
USE_PHP= xml
USE_RC_SUBR= nagios
@@ -33,7 +31,6 @@ CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--with-cgiurl=${NAGIOSCGIURL} \
--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
- --datarootdir=${PREFIX}/${NAGIOSWWWDIR} \
--datadir=${PREFIX}/${NAGIOSWWWDIR} \
--sysconfdir=${PREFIX}/etc/nagios \
--localstatedir=${NAGIOSDIR} \
@@ -91,6 +88,9 @@ NANOSLEEP_CONFIGURE_ENABLE= nanosleep
# 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php
UNHANDLED_HACK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-html__side.php
+post-patch:
+ @${REINPLACE_CMD} '/^INSTALL_OPTS=/d;/COMMAND_OPTS=/d' ${WRKSRC}/configure
+
post-install:
@${MV} ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php ${STAGEDIR}${PREFIX}/${NAGIOSWWWDIR}/config.inc.php.sample