1 PORTNAME= check_nwc_health
5 MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
7 MAINTAINER= leres@FreeBSD.org
8 COMMENT= Nagios plugin to monitor network equipment via SNMP
9 WWW= https://labs.consol.de/nagios/check_nwc_health
12 LICENSE_FILE= ${WRKSRC}/COPYING
14 RUN_DEPENDS= p5-File-Slurp>=0:devel/p5-File-Slurp \
15 p5-JSON-XS>=4.0:converters/p5-JSON-XS \
16 p5-JSON>=4.0:converters/p5-JSON
21 CONFIGURE_ARGS= --prefix=${PREFIX} \
22 --with-nagios-user=${NAGIOSUSER} \
23 --with-nagios-group=${NAGIOSGROUP} \
29 GROUPS= ${NAGIOSGROUP}
31 PLIST_FILES= libexec/check_nwc_health
34 ${REINPLACE_CMD} -e "s| /bin/sed| ${SED}|" -e "s| /bin/grep| ${GREP}|" \
35 ${WRKSRC}/plugins-scripts/Makefile.in
36 # Remove unused expression that is problematic for pkg-fallout
37 # under 12.3 but causes no problems anywhere else
38 ${REINPLACE_CMD} -e "/@AWK@/d" ${WRKSRC}/plugins-scripts/subst.in
40 .include <bsd.port.mk>