2002-10-25 21:09:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2002/10/26 01:09:14 dhartmei Exp $
|
2002-10-08 03:56:42 -04:00
|
|
|
|
|
|
|
COMMENT= "active monitoring tool"
|
2002-10-25 21:09:14 -04:00
|
|
|
V= 2.53
|
2002-10-08 03:56:42 -04:00
|
|
|
DISTNAME= symon-${V}
|
|
|
|
CATEGORIES= net sysutils
|
|
|
|
NEED_VERSION= 1.502
|
|
|
|
MASTER_SITES= http://www.xs4all.nl/~wpd/symon/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.xs4all.nl/~wpd/symon/
|
|
|
|
MAINTAINER= Willem Dijkstra <wpd@xs4all.nl>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
# client only package
|
|
|
|
MULTI_PACKAGES+= -mon
|
|
|
|
COMMENT-mon= "active host monitor"
|
2002-10-25 21:09:14 -04:00
|
|
|
MON_LIBDEPENDS=
|
|
|
|
MON_RUNDEPENDS=
|
2002-10-08 03:56:42 -04:00
|
|
|
# gatherer only package
|
|
|
|
MULTI_PACKAGES+= -mux
|
|
|
|
COMMENT-mux= "symon data gatherer"
|
2002-10-25 21:09:14 -04:00
|
|
|
MUX_LIBDEPENDS= rrd:rrdtool-*:net/rrdtool
|
|
|
|
MUX_RUNDEPENDS= rrd:rrdtool-*:net/rrdtool
|
|
|
|
# web frontend only package
|
2002-10-08 03:56:42 -04:00
|
|
|
MULTI_PACKAGES+= -web
|
|
|
|
COMMENT-web= "symon web frontend"
|
2002-10-25 21:09:14 -04:00
|
|
|
WEB_LIBDEPENDS=
|
|
|
|
WEB_RUNDEPENDS= rrd:rrdtool-*:net/rrdtool php:php4->=4.2.3:www/php4/core
|
2002-10-08 03:56:42 -04:00
|
|
|
|
|
|
|
.for i in ${MULTI_PACKAGES}
|
|
|
|
FULLPKGNAME${i}= symon${i}-${V}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.if defined(PACKAGING) && !empty(SUBPACKAGE)
|
|
|
|
MODULE_NAME= ${SUBPACKAGE:S/-//g}
|
2002-10-25 21:09:14 -04:00
|
|
|
LIB_DEPENDS= ${${MODULE_NAME:U}_LIBDEPENDS}
|
|
|
|
RUN_DEPENDS= ${${MODULE_NAME:U}_RUNDEPENDS}
|
2002-10-08 03:56:42 -04:00
|
|
|
MESSAGE= ${PKGDIR}/MESSAGE${SUBPACKAGE}
|
|
|
|
.else
|
2002-10-25 21:09:14 -04:00
|
|
|
BUILD_DEPENDS= rrd:rrdtool-*:net/rrdtool
|
|
|
|
RUN_DEPENDS= rrd:rrdtool-*:net/rrdtool php:php4->=4.2.3:www/php4/core
|
2002-10-08 03:56:42 -04:00
|
|
|
LIB_DEPENDS= rrd:rrdtool-*:net/rrdtool
|
|
|
|
.endif
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/symon
|
|
|
|
SUBST_VARS= V
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|