aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2008-01-14 09:15:02 +0800
committeraraujo <araujo@FreeBSD.org>2008-01-14 09:15:02 +0800
commit60684c0b4176d2ca19a4eabd70c68974863e047c (patch)
tree88490d0bf09640f8bbcc6279005e00c6e15e6b07 /devel
parent1d184e69d489be814855b63c8d209e29d08a4cb9 (diff)
downloadfreebsd-ports-gnome-60684c0b4176d2ca19a4eabd70c68974863e047c.tar.gz
freebsd-ports-gnome-60684c0b4176d2ca19a4eabd70c68974863e047c.tar.zst
freebsd-ports-gnome-60684c0b4176d2ca19a4eabd70c68974863e047c.zip
TheSchwartz is a reliable job queue system. Your application can put
jobs into the system, and your worker processes can pull jobs from the queue atomically to perform. Failed jobs can be left in the queue to retry later. WWW: http://search.cpan.org/dist/TheSchwartz/ PR: ports/119549 Submitted by: Gean-Suan Lin <gslin@gslin.org> Approved by: stas (mentor, implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-TheSchwartz/Makefile31
-rw-r--r--devel/p5-TheSchwartz/distinfo3
-rw-r--r--devel/p5-TheSchwartz/pkg-descr6
-rw-r--r--devel/p5-TheSchwartz/pkg-plist11
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index eb7323322c50..501536b13389 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1639,6 +1639,7 @@
SUBDIR += p5-Test-use-ok
SUBDIR += p5-Text-LevenshteinXS
SUBDIR += p5-Text-vFile-asData
+ SUBDIR += p5-TheSchwartz
SUBDIR += p5-Thread-Apartment
SUBDIR += p5-Thread-Pool-Simple
SUBDIR += p5-Thread-Queue-Duplex
diff --git a/devel/p5-TheSchwartz/Makefile b/devel/p5-TheSchwartz/Makefile
new file mode 100644
index 000000000000..56ec819fbbdc
--- /dev/null
+++ b/devel/p5-TheSchwartz/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-TheSchwartz
+# Date created: 2008-01-11
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= TheSchwartz
+PORTVERSION= 1.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/B/BR/BRADFITZ
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Reliable job queue
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/Data/ObjectDriver.pm:${PORTSDIR}/devel/p5-Data-ObjectDriver
+
+PERL_CONFIGURE= yes
+
+MAN3= TheSchwartz.3 TheSchwartz::Job.3 TheSchwartz::Worker.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires Perl 5.8.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-TheSchwartz/distinfo b/devel/p5-TheSchwartz/distinfo
new file mode 100644
index 000000000000..db4fa0d0dcdc
--- /dev/null
+++ b/devel/p5-TheSchwartz/distinfo
@@ -0,0 +1,3 @@
+MD5 (TheSchwartz-1.04.tar.gz) = f750525972485e69c8a08d4a45f51247
+SHA256 (TheSchwartz-1.04.tar.gz) = b5d15d84db2f4f70e008ee66b2be32e57136bd891bafbe4c91957e153eea1aad
+SIZE (TheSchwartz-1.04.tar.gz) = 44656
diff --git a/devel/p5-TheSchwartz/pkg-descr b/devel/p5-TheSchwartz/pkg-descr
new file mode 100644
index 000000000000..d2e5c2321fd6
--- /dev/null
+++ b/devel/p5-TheSchwartz/pkg-descr
@@ -0,0 +1,6 @@
+TheSchwartz is a reliable job queue system. Your application can put
+jobs into the system, and your worker processes can pull jobs from the
+queue atomically to perform. Failed jobs can be left in the queue to
+retry later.
+
+WWW: http://search.cpan.org/dist/TheSchwartz/
diff --git a/devel/p5-TheSchwartz/pkg-plist b/devel/p5-TheSchwartz/pkg-plist
new file mode 100644
index 000000000000..9425ddbb5fae
--- /dev/null
+++ b/devel/p5-TheSchwartz/pkg-plist
@@ -0,0 +1,11 @@
+bin/schwartzmon
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/TheSchwartz/.packlist
+%%SITE_PERL%%/TheSchwartz.pm
+%%SITE_PERL%%/TheSchwartz/Error.pm
+%%SITE_PERL%%/TheSchwartz/ExitStatus.pm
+%%SITE_PERL%%/TheSchwartz/FuncMap.pm
+%%SITE_PERL%%/TheSchwartz/Job.pm
+%%SITE_PERL%%/TheSchwartz/JobHandle.pm
+%%SITE_PERL%%/TheSchwartz/Worker.pm
+@dirrmtry %%SITE_PERL%%/TheSchwartz
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/TheSchwartz