2003-01-03 03:49:08 +01:00
|
|
|
# New ports collection makefile for: nrpe
|
|
|
|
# Date created: 1 Aug 2002
|
|
|
|
# Whom: Paul Dlug<paul@nerdlabs.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nrpe
|
2003-01-09 23:13:58 +01:00
|
|
|
PORTVERSION= 1.7
|
2003-01-03 03:49:08 +01:00
|
|
|
PORTREVISION= 0
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= nagios
|
|
|
|
|
|
|
|
MAINTAINER= paul@nerdlabs.com
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2003-01-09 23:13:58 +01:00
|
|
|
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
|
|
|
|
|
2003-01-03 03:49:08 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample
|
2003-01-09 23:13:58 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/init-script.freebsd ${PREFIX}/etc/rc.d/nrpe.sh
|
2003-01-03 03:49:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|