diff options
author | clsung <clsung@FreeBSD.org> | 2007-04-04 16:57:26 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-04-04 16:57:26 +0800 |
commit | ac8d11592303c6d6867fd6ee680482993ca8b3b7 (patch) | |
tree | 5bd8fa5678280866da3c2d54879922e5890e86f3 | |
parent | 4ce63c26576e38791458268c1c989bfc8669a6d9 (diff) | |
download | freebsd-ports-gnome-ac8d11592303c6d6867fd6ee680482993ca8b3b7.tar.gz freebsd-ports-gnome-ac8d11592303c6d6867fd6ee680482993ca8b3b7.tar.zst freebsd-ports-gnome-ac8d11592303c6d6867fd6ee680482993ca8b3b7.zip |
Add p5-threads-shared 1.08, perl extension for sharing data structures
between threads.
PR: ports/110474
Submitted by: Ruben van Staveren
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-threads-shared/Makefile | 31 | ||||
-rw-r--r-- | devel/p5-threads-shared/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-threads-shared/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-threads-shared/pkg-plist | 8 |
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 3f844fe5470a..c616fd537191 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1609,6 +1609,7 @@ SUBDIR += p5-rpm-build-perl SUBDIR += p5-subatom SUBDIR += p5-threads + SUBDIR += p5-threads-shared SUBDIR += p5-version SUBDIR += p65 SUBDIR += pas2dox diff --git a/devel/p5-threads-shared/Makefile b/devel/p5-threads-shared/Makefile new file mode 100644 index 000000000000..6d5cabb1f4f3 --- /dev/null +++ b/devel/p5-threads-shared/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-threads-shared +# Date created: 2007-03-18 +# Whom: Ruben van Staveren +# +# $FreeBSD$ +# + +PORTNAME= threads-shared +PORTVERSION= 1.08 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/J/JD/JDHEDDEN +PKGNAMEPREFIX= p5- + +MAINTAINER= ruben@verweg.com +COMMENT= Perl extension for sharing data structures between threads + +RUN_DEPENDS= p5-threads>=1.59:${PORTSDIR}/devel/p5-threads +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= threads::shared.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-threads-shared/distinfo b/devel/p5-threads-shared/distinfo new file mode 100644 index 000000000000..05addddeb0cd --- /dev/null +++ b/devel/p5-threads-shared/distinfo @@ -0,0 +1,3 @@ +MD5 (threads-shared-1.08.tar.gz) = aa87ded3df2727c280df27df202fa26a +SHA256 (threads-shared-1.08.tar.gz) = 10862d7a4e151d1ce7a16c72405007c16a9cc1a6c2cc6455a9d5ca355c2b9378 +SIZE (threads-shared-1.08.tar.gz) = 65122 diff --git a/devel/p5-threads-shared/pkg-descr b/devel/p5-threads-shared/pkg-descr new file mode 100644 index 000000000000..f68fa7d0fb3e --- /dev/null +++ b/devel/p5-threads-shared/pkg-descr @@ -0,0 +1,7 @@ +By default, variables are private to each thread, and each newly created thread +gets a private copy of each existing variable. + +This module allows you to share variables across different threads (and +pseudoforks on Win32). It is used together with the threads module. + +WWW: http://search.cpan.org/dist/threads-shared/ diff --git a/devel/p5-threads-shared/pkg-plist b/devel/p5-threads-shared/pkg-plist new file mode 100644 index 000000000000..f20783ac5743 --- /dev/null +++ b/devel/p5-threads-shared/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/threads/shared/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/threads/shared/shared.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/threads/shared/shared.so +%%SITE_PERL%%/%%PERL_ARCH%%/threads/shared.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/threads/shared +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/threads +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/threads |