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

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

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

CVSweb <webmaster@jp.NetBSD.org>