summaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios12/Makefile
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-05-29 06:35:18 +0000
committerkuriyama <kuriyama@FreeBSD.org>2002-05-29 06:35:18 +0000
commitc4eb485185100ed8a05291a4f038c2c0b4cb58e8 (patch)
treec1c1f36ee3662fb2beb441d7ffde1a8b25fb9639 /net-mgmt/nagios12/Makefile
parent7d0dd45516ba89fc06cf3020158f9e7dd1728d6e (diff)
downloadFreeBSD-ports-c4eb485185100ed8a05291a4f038c2c0b4cb58e8.zip
FreeBSD-ports-c4eb485185100ed8a05291a4f038c2c0b4cb58e8.tar.gz
Add nagios-1.0b1 after repocopy from net/netsaint.
Submitted by: Blaz Zupan <blaz.zupan@amis.net> PR: ports/38550
Diffstat (limited to 'net-mgmt/nagios12/Makefile')
-rw-r--r--net-mgmt/nagios12/Makefile43
1 files changed, 19 insertions, 24 deletions
diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile
index f3d3d15..806fda7 100644
--- a/net-mgmt/nagios12/Makefile
+++ b/net-mgmt/nagios12/Makefile
@@ -1,18 +1,16 @@
-# New ports collection makefile for: netsaint
-# Date created: Wed 12 Jul 2000
-# Whom: will
+# New ports collection makefile for: nagios
+# Date created: 19 May 2002
+# Whom: Blaz Zupan <blaz@si.FreeBSD.org>
#
# $FreeBSD$
#
-PORTNAME= netsaint
-PORTVERSION= 0.0.7
-PORTEPOCH= 1
+PORTNAME= nagios
+PORTVERSION= 1.0.b1
CATEGORIES= net
-MASTER_SITES= http://netsaint.sourceforge.net/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dwcjr
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} netsaint-graphics.tar.gz
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=nagios
+DISTNAME= nagios-1.0b1
MAINTAINER= blaz@si.FreeBSD.org
@@ -24,15 +22,19 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt"
-CONFIGURE_ARGS= --with-command-user=netsaint \
+CONFIGURE_ARGS= --with-command-user=nagios \
--with-command-grp=nogroup \
- --with-netsaint-user=netsaint \
- --with-netsaint-grp=netsaint \
- --sbindir=${PREFIX}/share/netsaint/sbin \
+ --with-nagios-user=nagios \
+ --with-nagios-grp=nagios \
+ --with-template-objects \
+ --with-template-extinfo \
+ --with-init-dir=${PREFIX}/etc/rc.d \
+ --sbindir=${PREFIX}/share/nagios/sbin \
--libexecdir=${PREFIX}/libexec/netsaint \
- --datadir=${PREFIX}/share/netsaint \
- --sysconfdir=${PREFIX}/etc/netsaint \
- --localstatedir=${PREFIX}/var/netsaint
+ --datadir=${PREFIX}/share/nagios \
+ --sysconfdir=${PREFIX}/etc/nagios \
+ --localstatedir=${PREFIX}/var/nagios \
+ --prefix=${PREFIX}
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
@@ -42,11 +44,4 @@ pre-fetch:
pre-install:
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-BSDIMAGES= bsd_logofullsize.gif bsd_sblogo.gif
-
-post-install:
-.for i in ${BSDIMAGES}
- ${INSTALL_DATA} ${WRKDIR}/netsaint-0.0.7b6/html/images/$i ${PREFIX}/share/${PORTNAME}/images/
-.endfor
-
.include <bsd.port.mk>
OpenPOWER on IntegriCloud