5fe1596ff4
- fix a bug in mode count-routes, update glplugin Reported by: portscout
33 lines
734 B
Makefile
33 lines
734 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= check_nwc_health
|
|
PORTVERSION= 7.12.1.3
|
|
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>
|