aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-11-10 01:12:27 +0800
committerpav <pav@FreeBSD.org>2008-11-10 01:12:27 +0800
commitafa3892706884bb390be8b7208eed60cf3fcdd0f (patch)
tree409299f0c4666fae902a81b899deace12b589f43 /net-mgmt
parenta4a152d350d8552986ee222bdfb55b6a20b1fd25 (diff)
downloadfreebsd-ports-gnome-afa3892706884bb390be8b7208eed60cf3fcdd0f.tar.gz
freebsd-ports-gnome-afa3892706884bb390be8b7208eed60cf3fcdd0f.tar.zst
freebsd-ports-gnome-afa3892706884bb390be8b7208eed60cf3fcdd0f.zip
- Better style for rc.d and pkg-message
PR: ports/128568 (based on) Submitted by: Steven Kreuzer <skreuzer@exit2shell.com>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nrpe/Makefile6
-rw-r--r--net-mgmt/nrpe/pkg-plist1
2 files changed, 2 insertions, 5 deletions
diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile
index 22eb2628d840..e386315006d7 100644
--- a/net-mgmt/nrpe/Makefile
+++ b/net-mgmt/nrpe/Makefile
@@ -19,9 +19,8 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagio
GNU_CONFIGURE= yes
USE_PERL5= yes
-USE_RC_SUBR= yes
-SUB_FILES= nrpe pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_RC_SUBR= nrpe
+SUB_FILES= pkg-message
CONFIGURE_ARGS= \
--libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \
@@ -32,7 +31,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe \
${PREFIX}/libexec/nagios/check_nrpe
${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample
- ${INSTALL_SCRIPT} ${WRKDIR}/nrpe ${PREFIX}/etc/rc.d
post-install:
${CAT} ${PKGMESSAGE}
diff --git a/net-mgmt/nrpe/pkg-plist b/net-mgmt/nrpe/pkg-plist
index 62175c96554e..e91281a30811 100644
--- a/net-mgmt/nrpe/pkg-plist
+++ b/net-mgmt/nrpe/pkg-plist
@@ -1,4 +1,3 @@
sbin/nrpe
etc/nrpe.cfg-sample
libexec/nagios/check_nrpe
-etc/rc.d/nrpe