summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2003-11-20 21:58:52 +0000
committersergei <sergei@FreeBSD.org>2003-11-20 21:58:52 +0000
commita1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7 (patch)
tree24a069575d916b5ad22195d5616508b2caacdcf5 /net-mgmt
parent3203f9ad3b8e29af0191780211347f7bc837525c (diff)
downloadFreeBSD-ports-a1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7.zip
FreeBSD-ports-a1040c098cf73d6ff946e1e0a6d5e2a7fc2ab5e7.tar.gz
- Remove USE_REINPLACE in favor of passing argument to configure script
PR: 59431 Submitted by: maintainer
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nrpe/Makefile8
-rw-r--r--net-mgmt/nrpe2/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/net-mgmt/nrpe/Makefile b/net-mgmt/nrpe/Makefile
index 4ed6710..554ef1e 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
diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile
index 4ed6710..554ef1e 100644
--- a/net-mgmt/nrpe2/Makefile
+++ b/net-mgmt/nrpe2/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
OpenPOWER on IntegriCloud