1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net-mgmt/cnagios4/Makefile
Dan Langille 582854cd3b Upgrade to 0.33
* Fix segfault in time parsing
* Add support for Nagios 4.x status files

re https://github.com/dannywarren/cnagios/releases/tag/0.33
2019-07-08 17:45:25 +00:00

37 lines
719 B
Makefile

# Created by: Dan Langille <dvl@FreeBSD.org>
# $FreeBSD$
PORTNAME= cnagios
PORTVERSION= 0.33
CATEGORIES= net-mgmt
PKGNAMESUFFIX= 4
MAINTAINER= dvl@FreeBSD.org
COMMENT= Curses-based interface for nagios
LICENSE= ISCL
RUN_DEPENDS= nagios4>=3.0:net-mgmt/nagios4
USES= ncurses perl5
CONFLICTS_INSTALL= cnagios
USE_GITHUB= yes
GH_ACCOUNT= dannywarren
NAGIOSDIR?= /var/spool/nagios
ETCDIR= ${PREFIX}/etc/nagios
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-etc-dir="${ETCDIR}" \
--with-var-dir="${NAGIOSDIR}" \
--with-status-file="${NAGIOSDIR}/status.dat" \
--with-nagios-data=3
MAKE_ARGS= LIBS="-lncurses"
ALL_TARGET= cnagios
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cnagios
.include <bsd.port.mk>