aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nrpe/Makefile
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-11-21 05:58:52 +0800
committersergei <sergei@FreeBSD.org>2003-11-21 05:58:52 +0800
commita1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7 (patch)
tree24a069575d916b5ad22195d5616508b2caacdcf5 /net-mgmt/nrpe/Makefile
parent3203f9ad3b8e29af0191780211347f7bc837525c (diff)
downloadfreebsd-ports-gnome-a1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7.tar.gz
freebsd-ports-gnome-a1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7.tar.zst
freebsd-ports-gnome-a1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7.zip
- Remove USE_REINPLACE in favor of passing argument to configure script
PR: 59431 Submitted by: maintainer
Diffstat (limited to 'net-mgmt/nrpe/Makefile')
-rw-r--r--net-mgmt/nrpe/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile
index 4ed67103214c..554ef1e90caf 100644
--- a/net-mgmt/nrpe/Makefile
+++ b/net-mgmt/nrpe/Makefile
@@ -15,15 +15,11 @@ MASTER_SITE_SUBDIR= nagios
MAINTAINER= paul@nerdlabs.com
COMMENT= Nagios Remote Plugin Executor
-RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
+RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
-pre-install:
- @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- ${REINPLACE_CMD} -e "s=/usr/local/bin/nrpe=${PREFIX}/sbin/nrpe=" ${WRKSRC}/init-script.freebsd
- ${REINPLACE_CMD} -e "s=/usr/local/libexec=${PREFIX}/libexec/nagios=" ${WRKSRC}/nrpe.cfg
+CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe