aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nrpe2/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-09 22:13:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-09 22:13:58 +0000
commit92fdd64a1deeeb96340ff215316114f7f00b41b8 (patch)
tree3f4a70953bb39407236d2dbc901801bbf85aea50 /net-mgmt/nrpe2/Makefile
parent1faf648c48d997d163a8ff210cae816559d809ac (diff)
downloadports-92fdd64a1deeeb96340ff215316114f7f00b41b8.tar.gz
ports-92fdd64a1deeeb96340ff215316114f7f00b41b8.zip
Notes
Diffstat (limited to 'net-mgmt/nrpe2/Makefile')
-rw-r--r--net-mgmt/nrpe2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile
index 764aa7996ebb..376ce2e921ee 100644
--- a/net-mgmt/nrpe2/Makefile
+++ b/net-mgmt/nrpe2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nrpe
-PORTVERSION= 1.5
+PORTVERSION= 1.7
PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -18,8 +18,13 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-
GNU_CONFIGURE= yes
+pre-install:
+ @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+ ${SED} -i bak -e "s=/usr/local/bin/nrpe=${PREFIX}/sbin/nrpe=" ${WRKSRC}/init-script.freebsd
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe
${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/init-script.freebsd ${PREFIX}/etc/rc.d/nrpe.sh
.include <bsd.port.mk>