pkgsrc/pkgtools/distbb/Makefile
cheusov 8b428cc6d0 Update to 0.47.2
Fix: variable USE_DESTDIR disappeared from pkgsrc
2016-06-12 16:05:40 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2016/06/12 16:05:40 cheusov Exp $
#
DISTNAME= distbb-0.47.2
CATEGORIES= pkgtools
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/distbb/ \
http://mova.org/~cheusov/pub/distbb/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= http://mova.org/~cheusov/pub/distbb/
COMMENT= DISTributed Bulk Build tool for pkgsrc
LICENSE= 2-clause-bsd
DEPENDS+= pkg_summary-utils>=0.65.1:../../pkgtools/pkg_summary-utils
DEPENDS+= paexec>=0.17.0:../../parallel/paexec
DEPENDS+= runawk>=1.1.0:../../lang/runawk
DEPENDS+= pipestatus>=0.6.0:../../devel/pipestatus
DEPENDS+= digest-[0-9]*:../../pkgtools/digest
BUILD_DEPENDS+= mk-configure>=0.21:../../devel/mk-configure
USE_LANGUAGES= # none
REPLACE_SH+= distbb.in distbb_diff.in slave.in stage_*.in
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= /usr/bin/env runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= gen_weights.in pkg_summary2build_deps.in \
distbb_grep.in gen_queue.in
EGDIR= ${PREFIX}/share/examples/distbb
DOCDIR= ${PREFIX}/share/doc/distbb
CONF_FILES= ${EGDIR}/distbb.conf ${PKG_SYSCONFDIR}/distbb.conf
CONF_FILES+= ${EGDIR}/distbb.local.mk ${PKG_SYSCONFDIR}/distbb.local.mk
DOCFILES= README NEWS TODO
MAKE_FLAGS+= EGDIR=${EGDIR}
INSTALLATION_DIRS= ${DOCDIR}
post-install:
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
.endfor
.include "../../devel/mk-configure/mk-c.mk"
.include "../../mk/bsd.pkg.mk"