diff --git a/devel/Makefile b/devel/Makefile index 0fb65a38b1d3..631d8bd74941 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1951,6 +1951,7 @@ SUBDIR += p5-Thread-Apartment SUBDIR += p5-Thread-Cancel SUBDIR += p5-Thread-Pool-Simple + SUBDIR += p5-Thread-Queue SUBDIR += p5-Thread-Queue-Duplex SUBDIR += p5-Thread-Suspend SUBDIR += p5-Thrift diff --git a/devel/p5-Thread-Queue/Makefile b/devel/p5-Thread-Queue/Makefile new file mode 100644 index 000000000000..8f44e19fadda --- /dev/null +++ b/devel/p5-Thread-Queue/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: p5-Thread-Queue +# Date created: June 2nd 2009 +# Whom: Cezary Morga +# +# $FreeBSD$ +# + +PORTNAME= Thread-Queue +PORTVERSION= 2.11 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= cm@therek.net +COMMENT= Perl5 thread-safe queues + +BUILD_DEPENDS= p5-Scalar-List-Utils>=1.10:${PORTSDIR}/lang/p5-Scalar-List-Utils \ + p5-threads-shared>=1.26:${PORTSDIR}/devel/p5-threads-shared +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= YES + +MAN3= Thread::Queue.3 + +.include diff --git a/devel/p5-Thread-Queue/distinfo b/devel/p5-Thread-Queue/distinfo new file mode 100644 index 000000000000..d7f5c176c40c --- /dev/null +++ b/devel/p5-Thread-Queue/distinfo @@ -0,0 +1,3 @@ +MD5 (Thread-Queue-2.11.tar.gz) = 955df887847e767dfeecbd3ead490606 +SHA256 (Thread-Queue-2.11.tar.gz) = f8c45414e6d7a03964575435a50446ef0b33b55d8130b957b5551056a81a480c +SIZE (Thread-Queue-2.11.tar.gz) = 10879 diff --git a/devel/p5-Thread-Queue/pkg-descr b/devel/p5-Thread-Queue/pkg-descr new file mode 100644 index 000000000000..63bd1c123f80 --- /dev/null +++ b/devel/p5-Thread-Queue/pkg-descr @@ -0,0 +1,13 @@ +This module provides thread-safe FIFO queues that can be accessed safely +by any number of threads. + +Any data types supported by threads::shared can be passed via queues: +- Ordinary scalars +- Array refs +- Hash refs +- Scalar refs +- Objects based on the above + +Ordinary scalars are added to queues as they are. + +WWW: http://search.cpan.org/dist/Thread-Queue/ diff --git a/devel/p5-Thread-Queue/pkg-plist b/devel/p5-Thread-Queue/pkg-plist new file mode 100644 index 000000000000..d10ad90612d9 --- /dev/null +++ b/devel/p5-Thread-Queue/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Thread/Queue.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread +@dirrmtry %%SITE_PERL%%/Thread