2002-05-29 08:35:18 +02:00
|
|
|
# New ports collection makefile for: nagios
|
|
|
|
# Date created: 19 May 2002
|
|
|
|
# Whom: Blaz Zupan <blaz@si.FreeBSD.org>
|
2000-07-12 20:43:32 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-05-29 08:35:18 +02:00
|
|
|
PORTNAME= nagios
|
2002-06-11 10:14:22 +02:00
|
|
|
PORTVERSION= 1.0.b3
|
2002-06-24 03:54:02 +02:00
|
|
|
PORTREVISION= 1
|
2000-07-12 20:43:32 +02:00
|
|
|
CATEGORIES= net
|
2002-05-29 08:35:18 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=nagios
|
2002-06-11 10:14:22 +02:00
|
|
|
DISTNAME= nagios-1.0b3
|
2000-07-12 20:43:32 +02:00
|
|
|
|
2001-05-17 08:02:17 +02:00
|
|
|
MAINTAINER= blaz@si.FreeBSD.org
|
2000-07-12 20:43:32 +02:00
|
|
|
|
2001-02-12 11:01:08 +01:00
|
|
|
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \
|
2001-01-13 00:36:31 +01:00
|
|
|
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
2001-04-04 00:07:20 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins
|
2000-07-12 20:43:32 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-01-13 00:36:31 +01:00
|
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt"
|
2002-05-29 08:35:18 +02:00
|
|
|
CONFIGURE_ARGS= --with-command-user=nagios \
|
2002-06-24 03:54:02 +02:00
|
|
|
--with-command-grp=www \
|
2002-05-29 08:35:18 +02:00
|
|
|
--with-nagios-user=nagios \
|
|
|
|
--with-nagios-grp=nagios \
|
|
|
|
--with-template-objects \
|
|
|
|
--with-template-extinfo \
|
|
|
|
--with-init-dir=${PREFIX}/etc/rc.d \
|
2002-06-24 03:54:02 +02:00
|
|
|
--sbindir=${PREFIX}/share/nagios/cgi-bin \
|
2001-04-04 00:07:20 +02:00
|
|
|
--libexecdir=${PREFIX}/libexec/netsaint \
|
2002-05-29 08:35:18 +02:00
|
|
|
--datadir=${PREFIX}/share/nagios \
|
|
|
|
--sysconfdir=${PREFIX}/etc/nagios \
|
|
|
|
--localstatedir=${PREFIX}/var/nagios \
|
|
|
|
--prefix=${PREFIX}
|
2001-04-04 00:07:20 +02:00
|
|
|
|
|
|
|
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
|
2000-07-12 20:43:32 +02:00
|
|
|
|
|
|
|
pre-fetch:
|
|
|
|
@${SH} ${SCRIPTDIR}/checkps
|
|
|
|
|
|
|
|
pre-install:
|
2001-05-17 08:02:17 +02:00
|
|
|
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
2000-07-12 20:43:32 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|