aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Thread-Queue-Duplex
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-09-28 07:26:03 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-09-28 07:26:03 +0000
commite9b0b3139d3658d41d0416014eb4f953ede2947b (patch)
tree73eea98227eb0c06d62f622dac77eecf6f2d763f /devel/p5-Thread-Queue-Duplex
parentbd96c5b32c7081f134a76398afa48d532fe8bb1c (diff)
downloadports-e9b0b3139d3658d41d0416014eb4f953ede2947b.tar.gz
ports-e9b0b3139d3658d41d0416014eb4f953ede2947b.zip
Notes
Diffstat (limited to 'devel/p5-Thread-Queue-Duplex')
-rw-r--r--devel/p5-Thread-Queue-Duplex/Makefile28
-rw-r--r--devel/p5-Thread-Queue-Duplex/distinfo3
-rw-r--r--devel/p5-Thread-Queue-Duplex/pkg-descr19
-rw-r--r--devel/p5-Thread-Queue-Duplex/pkg-plist12
4 files changed, 62 insertions, 0 deletions
diff --git a/devel/p5-Thread-Queue-Duplex/Makefile b/devel/p5-Thread-Queue-Duplex/Makefile
new file mode 100644
index 000000000000..5dfe48955115
--- /dev/null
+++ b/devel/p5-Thread-Queue-Duplex/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Thread-Queue-Duplex
+# Date created: 2006-08-29
+# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Thread-Queue-Duplex
+PORTVERSION= 0.92
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Thread
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tjs@cdpa.nsysu.edu.tw
+COMMENT= Thread-safe request/response queue with identifiable elements
+
+PERL_CONFIGURE= yes
+
+MAN3= Thread::Queue::Duplex.3 Thread::Queue::Queueable.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Thread-Queue-Duplex/distinfo b/devel/p5-Thread-Queue-Duplex/distinfo
new file mode 100644
index 000000000000..ed6a4006ae53
--- /dev/null
+++ b/devel/p5-Thread-Queue-Duplex/distinfo
@@ -0,0 +1,3 @@
+MD5 (Thread-Queue-Duplex-0.92.tar.gz) = c5d103fb1b59c31af9e833492d8db330
+SHA256 (Thread-Queue-Duplex-0.92.tar.gz) = c04c0b6c400622f4d63dbcf932f6edb9f3e09d2caef41f46379fa32510197f4b
+SIZE (Thread-Queue-Duplex-0.92.tar.gz) = 35370
diff --git a/devel/p5-Thread-Queue-Duplex/pkg-descr b/devel/p5-Thread-Queue-Duplex/pkg-descr
new file mode 100644
index 000000000000..a8d283196f93
--- /dev/null
+++ b/devel/p5-Thread-Queue-Duplex/pkg-descr
@@ -0,0 +1,19 @@
+A mapped queue, similar to Thread::Queue, except that as elements
+are queued, they are assigned unique identifiers, which are used
+to identify responses returned from the dequeueing thread. This
+class provides a simple RPC-like mechanism between multiple client
+and server threads, so that a single server thread can safely
+multiplex requests from multiple client threads. Note that simplex
+versions of the enqueue methods are provided which do not assign
+unique identifiers, and are used for requests to which no response
+is required/expected.
+
+In addition, elements are inspected as they are enqueued/dequeued
+to determine if they are Thread::Queue::Queueable (aka TQQ)
+objects, and, if so, the onEnqueue() or onDequeue() methods are
+called to permit any additional class-specific
+marshalling/unmarshalling to be performed. Thread::Queue::Duplex
+(aka TQD) is itself a Thread::Queue::Queueable object, thus
+permitting TQD objects to be passed between threads.
+
+WWW: http://search.cpan.org/dist/Thread-Queue-Duplex/
diff --git a/devel/p5-Thread-Queue-Duplex/pkg-plist b/devel/p5-Thread-Queue-Duplex/pkg-plist
new file mode 100644
index 000000000000..eafaa1e793ab
--- /dev/null
+++ b/devel/p5-Thread-Queue-Duplex/pkg-plist
@@ -0,0 +1,12 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/Thread/Queue/TQDContainer.pm
+%%SITE_PERL%%/Thread/Queue/Queueable.pod
+%%SITE_PERL%%/Thread/Queue/Queueable.pm
+%%SITE_PERL%%/Thread/Queue/Duplex.pod
+%%SITE_PERL%%/Thread/Queue/Duplex.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue/Duplex/.packlist
+@dirrmtry %%SITE_PERL%%/Thread/Queue
+@dirrmtry %%SITE_PERL%%/Thread
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue/Duplex
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread