diff options
author | fhajny <fhajny> | 2015-04-14 11:27:30 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2015-04-14 11:27:30 +0000 |
commit | 0062049576e256221d5aa51810384aa03e3b7f03 (patch) | |
tree | ccf8a23f20047cbea7b92558064638806d89c204 /sysutils/p5-collectd | |
parent | 7bdbeb9593d7673d5e5a3926eee31a4b4e9271cc (diff) | |
download | pkgsrc-0062049576e256221d5aa51810384aa03e3b7f03.tar.gz |
Remove non-default perl and python options in sysutils/collectd. Use
separate p5-collectd and py-collectd packages instead for same purpose.
Diffstat (limited to 'sysutils/p5-collectd')
-rw-r--r-- | sysutils/p5-collectd/DESCR | 1 | ||||
-rw-r--r-- | sysutils/p5-collectd/Makefile | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/p5-collectd/DESCR b/sysutils/p5-collectd/DESCR new file mode 100644 index 00000000000..54908dda05e --- /dev/null +++ b/sysutils/p5-collectd/DESCR @@ -0,0 +1 @@ +perl plugin for collectd diff --git a/sysutils/p5-collectd/Makefile b/sysutils/p5-collectd/Makefile new file mode 100644 index 00000000000..66e28bdb5b6 --- /dev/null +++ b/sysutils/p5-collectd/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2015/04/14 11:27:30 fhajny Exp $ + +PKGNAME= p5-${DISTNAME} +COLLECTD_PACKAGE= perl + +COMMENT= Statistics collection daemon - perl plugin + +.include "../../sysutils/collectd/Makefile.common" + +USE_TOOLS+= perl + +PERL5_CONFIGURE= no +PERL5_PACKLIST+= auto/Collectd/.packlist + +CONFIGURE_ARGS+= --with-libperl=${BUILDLINK_PREFIX.perl} +CONFIGURE_ARGS+= --with-perl-bindings=${MAKE_PARAMS:Q} + +post-build: + cd ${WRKSRC}/bindings && ${BUILD_MAKE_CMD} perl + +do-install: + cd ${WRKSRC}/src && ${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} ${INSTALL_TARGET} + cd ${WRKSRC}/bindings && ${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} install + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" |