freebsd-ports/net-mgmt/rrdbot/Makefile
Niclas Zeising 3b22ad40b1 Clean up databases/rrdtool
Change library dependensies to use USES= where applicable.
Build ports documentation and examples, depending on respective option.
Add two new options, NLS and GRAPH, the GRAPH option enables the rrdtool graph
command, which pulls in cario and a lot of other dependencies.  [1]
Add missing dependencies.
Becase of shlib version bump, bump portrevision on depending ports.

PR:		192024 [1] (based on)
Submitted by:	asomers
Approved by:	portmgr (blanket, portrevision bumps)
2014-07-23 20:11:10 +00:00

31 lines
681 B
Makefile

# Created by: Jeremy Chadwick <koitsu@FreeBSD.org>
# $FreeBSD$
PORTNAME= rrdbot
PORTVERSION= 0.9.7
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= http://thewalter.net/stef/software/rrdbot/
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Threaded SNMP polling daemon which stores data in RRDs
LIB_DEPENDS= librrd.so:${PORTSDIR}/databases/rrdtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include \
--datarootdir=${PREFIX}/share/rrdbot
SUB_FILES= pkg-message
USE_RC_SUBR= rrdbot
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
.include <bsd.port.mk>