[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / collectd

Annotation of pkgsrc/sysutils/collectd/Makefile, Revision 1.6

1.6     ! wiz         1: # $NetBSD: Makefile,v 1.5 2015/06/10 20:05:26 fhajny Exp $
1.1       fhajny      2:
1.6     ! wiz         3: PKGREVISION= 1
1.1       fhajny      4: .include "../../sysutils/collectd/Makefile.common"
                      5:
                      6: COMMENT=       Statistics collection daemon base
                      7:
                      8: RCD_SCRIPTS=   collectd
                      9:
                     10: .include "../../mk/bsd.prefs.mk"
                     11:
                     12: # Simple plugins that have no dependencies
                     13: DEFAULT_PLUGINS+=      aggregation apcups csv email exec filecount     \
                     14:                        hddtemp logfile match_empty_counter match_hashed\
                     15:                        match_regex match_timediff match_value mbmon    \
                     16:                        ntpd olsrd openvpn powerdns statsd table tail   \
                     17:                        tail_csv target_notification target_replace     \
                     18:                        target_scale target_set target_v5upgrade        \
                     19:                        teamspeak2 threshold unixsock uuid write_graphite
                     20:
                     21: .for option in ${DEFAULT_PLUGINS}
                     22: CONFIGURE_ARGS+=       --enable-${option}
                     23: .endfor
                     24:
1.5       fhajny     25: # Several libs not generated in time for linking collectd
                     26: MAKE_JOBS_SAFE=                no
                     27:
1.1       fhajny     28: .include "options.mk"
                     29:
                     30: CONF_FILES+=           share/examples/collectd/collectd.conf           \
                     31:                        ${PKG_SYSCONFDIR}/collectd.conf
                     32:
                     33: OWN_DIRS+=             ${VARBASE}/db/collectd
                     34:
                     35: COLLECTD_USER?=                        collectd
                     36: COLLECTD_GROUP?=               ${COLLECTD_USER}
                     37: PKG_USERS_VARS+=               COLLECTD_USER
                     38: PKG_GROUPS_VARS+=              COLLECTD_GROUP
                     39: PKG_GROUPS=                    ${COLLECTD_GROUP}
                     40: PKG_USERS=                     ${COLLECTD_USER}:${COLLECTD_GROUP}
                     41: PKG_GECOS.${COLLECTD_USER}=    collectd unprivileged user
                     42:
                     43: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>