DESCR

pbulk is the modular bulk build framework for pkgsrc.

This package contains the core components:

- pbulk-scan, a program to scan the entire pkgsrc tree
or a list of directories therein for packages and
dependencies. Distributed operation using a master/client
mode is supported.

- pbulk-resolve, a program to resolve the dependencies
from the output of pbulk-scan

- pbulk-build, the build scheduler. Distributed builds via TCP
are supported.

This package does not contain the script logic to build actual packages.

Makefile

# $NetBSD: Makefile,v 1.4 2010/05/05 00:07:07 joerg Exp $

DISTNAME= pbulk-base-0.41
COMMENT= Core components of the modular bulk build framework

PKG_DESTDIR_SUPPORT= user-destdir

.include "../../pkgtools/pbulk/Makefile.common"

USE_FEATURES= nbcompat
USE_TOOLS+= groff nroff

INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
USE_BSD_MAKEFILE= yes

CONFLICTS= pbulk<0.39

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
LDADD+= -lsocket -lresolv
MAKE_ENV+= LDADD=${LDADD:Q}
.endif

.if ${OPSYS} == "Linux"
CPPFLAGS+= -D_GNU_SOURCE
.endif

BUILD_DIRS= lib pbuild presolve pscan

do-extract:
${CP} -r ${FILESDIR}/pbulk ${WRKDIR}

.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.1 2009/06/07 18:07:00 joerg Exp $
bin/pbulk-build
bin/pbulk-resolve
bin/pbulk-scan
man/cat1/pbulk-build.0
man/cat1/pbulk-resolve.0
man/cat1/pbulk-scan.0
man/man1/pbulk-build.1
man/man1/pbulk-resolve.1
man/man1/pbulk-scan.1