freebsd-ports/net-mgmt/cnagios/Makefile
Olli Hauer 282bd3a58e - update to 0.31
- add stage support
- use @sample macro

Changes:
 Mon Dec 23rd 2013 - Bug fix from Colin Stolley.
                     Writing past end of a buffer.

 Fri May 24th 2013 - Steve Rader (the author) died.
                     We miss him. http://www.news.wisc.edu/21829

From README:
 Currently, cnagios is not being actively maintained.
 We continue to accept simple patches from the community.

PR:		ports/189198
Submitted by:	ohauer
Approved by:	Alexander <alexander.4mail@gmail.com> (maintainer)
2014-05-30 21:36:33 +00:00

31 lines
829 B
Makefile

# Created by: Alexander Y. Grigoryev <alexander.4mail@gmail.com>
# $FreeBSD$
PORTNAME= cnagios
PORTVERSION= 0.31
CATEGORIES= net-mgmt
MASTER_SITES= ftp://noc.hep.wisc.edu/src/cnagios/ \
ftp://noc.hep.wisc.edu/src/cnagios/old-versions/
MAINTAINER= alexander.4mail@gmail.com
COMMENT= Curses-based interface for nagios
LICENSE= ISCL
RUN_DEPENDS= nagios>=3.0:${PORTSDIR}/net-mgmt/nagios
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= perl5
ALL_TARGET= cnagios
post-patch:
# check in next relase if version match, and adjust/remove the next line
${REINPLACE_CMD} -e 's/0.30/${PORTVERSION}/' ${WRKSRC}/version.h
.include <bsd.port.mk>