mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
c39965e0df
PR: 212102 Approved by: alexander.4mail@gmail.com (old maintainer)
33 lines
697 B
Makefile
33 lines
697 B
Makefile
# Created by: Alexander Y. Grigoryev <alexander.4mail@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cnagios
|
|
PORTVERSION= 0.32
|
|
CATEGORIES= net-mgmt
|
|
|
|
MAINTAINER= danny@dannywarren.com
|
|
COMMENT= Curses-based interface for nagios
|
|
|
|
LICENSE= ISCL
|
|
|
|
RUN_DEPENDS= nagios>=3.0:net-mgmt/nagios
|
|
|
|
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
|
|
USES= ncurses perl5
|
|
MAKE_ARGS= LIBS="-lncurses"
|
|
ALL_TARGET= cnagios
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cnagios
|
|
|
|
.include <bsd.port.mk>
|