aboutsummaryrefslogtreecommitdiff
path: root/devel/libstatgrab/Makefile
blob: 1573690ad5051181f51cf32bd2d6bda4d0f58d99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Tim Bishop <tim@bishnet.net>

PORTNAME=	libstatgrab
PORTVERSION=	0.92
CATEGORIES=	devel
MASTER_SITES=	https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATGRAB_${PORTVERSION:S/./_/}/ \
		http://ftp.mirrorservice.org/pub/i-scream/libstatgrab/ \
		http://ftp.i-scream.org/pub/i-scream/libstatgrab/

MAINTAINER=	tdb@FreeBSD.org
COMMENT=	Provides a useful interface to system statistics

LICENSE=	LGPL21

USES=		pathfix pkgconfig libtool
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
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>