freebsd-ports/devel/libstatgrab/Makefile
Tim Bishop 5f6f80c8d4 Fix previous commit; ncurses only with TOOLS opt.
The libncurses dependency is only used by the saidar utility. That's
only built when the TOOLS option is enabled, otherwise it's not needed.
2016-01-31 20:06:33 +00:00

34 lines
890 B
Makefile

# Created by: Tim Bishop <tim@bishnet.net>
# $FreeBSD$
PORTNAME= libstatgrab
PORTVERSION= 0.91
CATEGORIES= devel
MASTER_SITES= http://ftp.mirrorservice.org/pub/i-scream/libstatgrab/ \
http://dl.ambiweb.de/mirrors/ftp.i-scream.org/libstatgrab/ \
http://ftp.i-scream.org/pub/i-scream/libstatgrab/
MAINTAINER= tdb@FreeBSD.org
COMMENT= Provides a useful interface to system statistics
LICENSE= LGPL21
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USES= pathfix pkgconfig libtool
CONFIGURE_ARGS+= --docdir=${DOCSDIR}
OPTIONS_DEFINE= TOOLS DOCS
OPTIONS_DEFAULT= TOOLS
TOOLS_DESC= Build and install statgrab and saidar
TOOLS_CONFIGURE_ENABLE= statgrab saidar
TOOLS_USES= shebangfix perl5 ncurses
TOOLS_VARS= SHEBANG_FILES+="src/statgrab/statgrab-make-mrtg-config.in \
src/statgrab/statgrab-make-mrtg-index.in" \
LICENSE+=GPLv2 LICENSE_COMB=multi
OPTIONS_SUB= yes
.include <bsd.port.mk>