mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
582854cd3b
* Fix segfault in time parsing * Add support for Nagios 4.x status files re https://github.com/dannywarren/cnagios/releases/tag/0.33
37 lines
719 B
Makefile
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>
|