pkgsrc/sysutils/p5-collectd/Makefile
wiz 2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00

29 lines
842 B
Makefile

# $NetBSD: Makefile,v 1.2 2015/06/12 10:51:17 wiz Exp $
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
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"