aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/munin-common/munin.mk
blob: 3a26c1e5d31e177a5b8cf5a9a4a0330e7624d3c2 (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
MUNIN_VERSION=  2.0.17
MUNIN_SITES=    SF/${PORTNAME}/stable/${MUNIN_VERSION}
MUNIN_DISTINFO= ${PORTSDIR}/sysutils/munin-common/distinfo
MUNIN_PATCHES=  ${PORTSDIR}/sysutils/munin-common/files/patch-Makefile \
        ${PORTSDIR}/sysutils/munin-common/files/patch-Makefile.config

PORTSCOUT=  limit:^2\.0\.

DBDIR?=     /var/${PORTNAME}
DBDIRNODE?= /var/${PORTNAME}
LOGDIR?=    /var/log/${PORTNAME}
STATEDIR?=  /var/run/${PORTNAME}
SPOOLDIR?=  /var/spool/${PORTNAME}
MUNIN_DIRS= BINDIR=${PREFIX}/bin \
        CGIDIR=${PREFIX}/www/cgi-bin \
        CONFDIR=${ETCDIR} \
        DBDIR=${DBDIR} \
        DBDIRNODE=${DBDIRNODE} \
        DOCDIR=${DOCSDIR} \
        HTMLDIR=${WWWDIR} \
        LIBDIR=${DATADIR} \
        LOGDIR=${LOGDIR} \
        MANDIR=${MANPREFIX}/man \
        SBINDIR=${PREFIX}/sbin \
        STATEDIR=${STATEDIR} \
        SPOOLDIR=${SPOOLDIR}
MAKE_ARGS=  ${MUNIN_DIRS} \
        BASH=${LOCALBASE}/bin/bash \
        PERL=${PERL} PERLLIB=${PREFIX}/${SITE_PERL_REL}
USERS=      munin
GROUPS=     munin
PLIST_SUB=  ${MUNIN_DIRS} USER=${USERS} GROUP=${GROUPS}