openbsd-ports/sysutils/symon/Makefile
henning ff7382a17d fix botched conversion to KERN_CPTIME2 for SMP support
only i386 and amd64 have working KERN_CPTIME2.
mimic top(1)s behaviour and only use KERN_CPTIME2 when ncpu > 1
ok bernd
2007-03-15 13:10:03 +00:00

46 lines
976 B
Makefile

# $OpenBSD: Makefile,v 1.26 2007/03/15 13:10:03 henning Exp $
COMMENT-main= "active monitoring tool"
V= 2.75
DISTNAME= symon-${V}
PKGNAME-main= ${DISTNAME}p1
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
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}/philes/
MULTI_PACKAGES= -main -mon -mux
WANTLIB-main= ${WANTLIB} fontconfig
# client only package
FULLPKGNAME-mon= symon-mon-${V}p1
COMMENT-mon= "active host monitor"
LIB_DEPENDS-mon=
# gatherer only package
FULLPKGNAME-mux= symon-mux-${V}p0
COMMENT-mux= "symon data gatherer"
LIB_DEPENDS-mux= rrd:rrdtool-*:net/rrdtool
WANTLIB-mux= ${WANTLIB} fontconfig
LIB_DEPENDS= rrd:rrdtool-*:net/rrdtool
USE_X11= Yes
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/symon
SUBST_VARS= V
MAKE_ENV= LIBS="-L${X11BASE}/lib"
.include <bsd.port.mk>