42 lines
772 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/04/18 14:10:29 sthen Exp $
COMMENT= command-line interface to Icinga
DISTNAME= icli-0.41
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://finalrewind.org/projects/icli/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# custom, see COPYING.
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
FLAVORS= nagios
FLAVOR?=
.if ${FLAVOR:Mnagios}
PATCH_LIST= nagios-*
RUN_DEPENDS= net/nagios/nagios
.else
RUN_DEPENDS= net/icinga/core
.endif
RUN_DEPENDS+= devel/p5-Term-Size \
devel/p5-Time-TimeDate
CONFIGURE_STYLE= modbuild
# requires devel/p5-Test-Pod and (unported) Test::Compile, Test::Command
NO_REGRESS= Yes
PKG_ARCH= *
.include <bsd.port.mk>