freebsd-ports/net-mgmt/check_nwc_health/Makefile
Craig Leres 41e8cd0e2c net-mgmt/check_nwc_health: Update to 7.10.0.6:
- reduce runtime for nexus hardware-health

Reported by:	portscout
Approved by:	matthew (mentor, implicit)
2019-09-17 23:29:43 +00:00

33 lines
734 B
Makefile

# $FreeBSD$
PORTNAME= check_nwc_health
PORTVERSION= 7.10.0.6
CATEGORIES= net-mgmt
MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
MAINTAINER= leres@freebsd.org
COMMENT= Nagios plugin to monitor network equipment via SNMP
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-nagios-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
--with-perl=${PERL}
NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
USERS= ${NAGIOSUSER}
GROUPS= ${NAGIOSGROUP}
PLIST_FILES= libexec/check_nwc_health
post-patch:
${REINPLACE_CMD} -e "s| /bin/sed| ${SED}|" -e "s| /bin/grep| ${GREP}|" \
${WRKSRC}/plugins-scripts/Makefile.in
.include <bsd.port.mk>