openbsd-ports/sysutils/symon/Makefile

54 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2006/01/10 18:17:36 bernd Exp $
COMMENT= "active monitoring tool"
V= 2.72
DISTNAME= symon-${V}
PKGNAME= ${DISTNAME}p0
CATEGORIES= sysutils net
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
2004-12-20 05:35:34 -05:00
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}/philes/
SUBPACKAGE?=
# client only package
MULTI_PACKAGES+= -mon
COMMENT-mon= "active host monitor"
2002-10-25 21:09:14 -04:00
MON_LIBDEPENDS=
# gatherer only package
MULTI_PACKAGES+= -mux
COMMENT-mux= "symon data gatherer"
MUX_LIBDEPENDS= rrd:rrdtool-*:net/rrdtool
.for i in ${MULTI_PACKAGES}
FULLPKGNAME${i}= symon${i}-${V}p0
.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}
MESSAGE= ${PKGDIR}/MESSAGE${SUBPACKAGE}
.else
LIB_DEPENDS= rrd:rrdtool-*:net/rrdtool
.endif
2005-10-24 01:13:17 -04:00
USE_X11= Yes
NO_REGRESS= Yes
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
.include <bsd.port.mk>