summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk-base
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-06-07 18:07:00 +0000
committerjoerg <joerg@pkgsrc.org>2009-06-07 18:07:00 +0000
commit692eaaba7dc2345b7cc0629d41fe5b1314489e3c (patch)
tree0827f872bdc109e62eb88af46c40ddc5a2058e0b /pkgtools/pbulk-base
parente892e17182743c3ea9649cb0efb53296539cf995 (diff)
downloadpkgsrc-692eaaba7dc2345b7cc0629d41fe5b1314489e3c.tar.gz
Split pbulk into pbulk-base (the backend programs) and pbulk (rest).
Diffstat (limited to 'pkgtools/pbulk-base')
-rw-r--r--pkgtools/pbulk-base/DESCR16
-rw-r--r--pkgtools/pbulk-base/Makefile34
-rw-r--r--pkgtools/pbulk-base/PLIST10
3 files changed, 60 insertions, 0 deletions
diff --git a/pkgtools/pbulk-base/DESCR b/pkgtools/pbulk-base/DESCR
new file mode 100644
index 00000000000..2db678a322e
--- /dev/null
+++ b/pkgtools/pbulk-base/DESCR
@@ -0,0 +1,16 @@
+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.
diff --git a/pkgtools/pbulk-base/Makefile b/pkgtools/pbulk-base/Makefile
new file mode 100644
index 00000000000..c8572c71cc0
--- /dev/null
+++ b/pkgtools/pbulk-base/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2009/06/07 18:07:00 joerg Exp $
+
+DISTNAME= pbulk-base-0.38
+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"
diff --git a/pkgtools/pbulk-base/PLIST b/pkgtools/pbulk-base/PLIST
new file mode 100644
index 00000000000..11f15cb65cd
--- /dev/null
+++ b/pkgtools/pbulk-base/PLIST
@@ -0,0 +1,10 @@
+@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