749f2cafe0
(Reported by: Angel Eduardo Porras Meza <aporrasmeza@hotmail.com>) PR: 61335 Submitted by: Paul Dlug <paul@nerdlabs.com> Approved by: erwin (mentor) (implicitly)
32 lines
892 B
Makefile
32 lines
892 B
Makefile
# New ports collection makefile for: nrpe
|
|
# Date created: 1 Aug 2002
|
|
# Whom: Paul Dlug<paul@nerdlabs.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nrpe
|
|
PORTVERSION= 1.9
|
|
PORTREVISION= 0
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= nagios
|
|
|
|
MAINTAINER= paul@nerdlabs.com
|
|
COMMENT= Nagios Remote Plugin Executor
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/nagios --sysconfdir=${PREFIX}/etc \
|
|
--sbindir=${PREFIX}/sbin --bindir=${PREFIX}/sbin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_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>
|