aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/rrdbot/Makefile
blob: a7d8e65afb9197eadd286a508cc6225f108054e2 (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
34
35
36
# New ports collection makefile for:    net-mgmt/rrdbot
# Date created:             18 September 2008
# Whom:                 Jeremy Chadwick <koitsu@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   rrdbot
PORTVERSION=    0.9.6
CATEGORIES= net-mgmt
MASTER_SITES=   http://memberwebs.com/stef/software/rrdbot/

MAINTAINER= dhn@FreeBSD.org
COMMENT=    Threaded SNMP polling daemon which stores data in RRDs

LIB_DEPENDS=    rrd:${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

MAN1=       rrdbot-get.1
MAN5=       rrdbot.conf.5
MAN8=       rrdbot-create.8 rrdbotd.8

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=    --enable-debug
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>