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

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

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

CVSweb <webmaster@jp.NetBSD.org>