pkgsrc-wip/libstatgrab/Makefile
Juan Romero Pardines a41967260c Initial import of libstatgrab-0.7.
Package provided by Tim Bishop <tim@bishnet.net>, PR pkg/23250.

libstatgrab is a library that provides an easy interface
to system statistics, such as cpu usage, memory usage, and
network traffic (amongst others). It also includes a neat
curses tool that displays all the statistics in a top-like
way.
2003-10-23 23:15:19 +00:00

40 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2003/10/23 23:15:19 xtraeme Exp $
#
DISTNAME= libstatgrab-0.7
CATEGORIES= devel
MASTER_SITES= ftp://ftp.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \
http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/ \
ftp://ftp.i-scream.org/pub/i-scream/libstatgrab/ \
http://www.i-scream.org/pub/i-scream/libstatgrab/
MAINTAINER= tim@bishnet.net
HOMEPAGE= http://www.i-scream.org/libstatgrab/
COMMENT= Provides a useful interface to system statistics
DIST_SUBDIR= i-scream
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libstatgrab.pc.in
CONFIGURE_ARGS+= --disable-examples
.if defined(WITHOUT_STATGRAB)
CONFIGURE_ARGS+= --disable-statgrab
PLIST_SUBST+= STATGRAB="@comment "
.else
PLIST_SUBST+= STATGRAB=""
.endif
.if defined(WITHOUT_SAIDAR)
CONFIGURE_ARGS+= --disable-saidar
PLIST_SUBST+= SAIDAR="@comment "
.else
PLIST_SUBST+= SAIDAR=""
.endif
.if defined(WITHOUT_SETGID_BINARIES)
CONFIGURE_ARGS+= --disable-setgid-binaries
.endif
.include "../../mk/bsd.pkg.mk"