2006-01-10 13:17:36 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2006/01/10 18:17:36 bernd Exp $
|
2002-10-08 03:56:42 -04:00
|
|
|
|
|
|
|
COMMENT= "active monitoring tool"
|
2005-12-04 05:55:47 -05:00
|
|
|
V= 2.72
|
2002-10-08 03:56:42 -04:00
|
|
|
DISTNAME= symon-${V}
|
2006-01-05 16:45:39 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2003-02-27 14:21:37 -05:00
|
|
|
CATEGORIES= sysutils net
|
2002-10-08 03:56:42 -04:00
|
|
|
|
2004-02-16 15:09:03 -05:00
|
|
|
HOMEPAGE= http://www.xs4all.nl/~wpd/symon
|
2002-10-08 03:56:42 -04:00
|
|
|
MAINTAINER= Willem Dijkstra <wpd@xs4all.nl>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-20 05:35:34 -05:00
|
|
|
WANTLIB= c
|
2002-10-08 03:56:42 -04:00
|
|
|
|
2004-02-16 15:09:03 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/philes/
|
2003-02-27 14:21:37 -05:00
|
|
|
|
2002-10-08 03:56:42 -04:00
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
# client only package
|
|
|
|
MULTI_PACKAGES+= -mon
|
|
|
|
COMMENT-mon= "active host monitor"
|
2002-10-25 21:09:14 -04:00
|
|
|
MON_LIBDEPENDS=
|
2002-10-08 03:56:42 -04:00
|
|
|
# gatherer only package
|
|
|
|
MULTI_PACKAGES+= -mux
|
|
|
|
COMMENT-mux= "symon data gatherer"
|
2004-02-16 15:09:03 -05:00
|
|
|
MUX_LIBDEPENDS= rrd:rrdtool-*:net/rrdtool
|
2002-10-08 03:56:42 -04:00
|
|
|
|
|
|
|
.for i in ${MULTI_PACKAGES}
|
2006-01-10 13:17:36 -05:00
|
|
|
FULLPKGNAME${i}= symon${i}-${V}p0
|
2002-10-08 03:56:42 -04:00
|
|
|
.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}
|
2002-10-08 03:56:42 -04:00
|
|
|
MESSAGE= ${PKGDIR}/MESSAGE${SUBPACKAGE}
|
|
|
|
.else
|
2004-02-16 15:09:03 -05:00
|
|
|
LIB_DEPENDS= rrd:rrdtool-*:net/rrdtool
|
2004-02-04 02:39:18 -05:00
|
|
|
.endif
|
|
|
|
|
2005-10-24 01:13:17 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-10-08 03:56:42 -04:00
|
|
|
WRKDIST= ${WRKDIR}/symon
|
|
|
|
SUBST_VARS= V
|
|
|
|
|
2005-10-24 01:13:17 -04:00
|
|
|
MAKE_ENV= LIBS="-L${X11BASE}/lib"
|
2002-10-28 14:53:43 -05:00
|
|
|
|
2002-10-08 03:56:42 -04:00
|
|
|
.include <bsd.port.mk>
|