diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-01-12 19:54:46 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-01-12 19:54:46 +0000 |
commit | a00474e753df8ede0284c0cdc6bde212a0a25b93 (patch) | |
tree | a0c69377e240cba5435784c68daa7d738abc89bd /devel/p5-Thread-Suspend | |
parent | 8489fe22d333952f1ac899f5b051868bfc391990 (diff) | |
download | ports-a00474e753df8ede0284c0cdc6bde212a0a25b93.tar.gz ports-a00474e753df8ede0284c0cdc6bde212a0a25b93.zip |
Notes
Diffstat (limited to 'devel/p5-Thread-Suspend')
-rw-r--r-- | devel/p5-Thread-Suspend/Makefile | 38 | ||||
-rw-r--r-- | devel/p5-Thread-Suspend/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Thread-Suspend/pkg-descr | 7 | ||||
-rw-r--r-- | devel/p5-Thread-Suspend/pkg-plist | 7 |
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-Thread-Suspend/Makefile b/devel/p5-Thread-Suspend/Makefile new file mode 100644 index 000000000000..456da2e12f4e --- /dev/null +++ b/devel/p5-Thread-Suspend/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-Thread-Suspend +# Date created: 2007-03-18 +# Whom: Ruben van Staveren +# +# $FreeBSD$ +# + +PORTNAME= Thread-Suspend +PORTVERSION= 1.19 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Thread +PKGNAMEPREFIX= p5- + +MAINTAINER= ruben@verweg.com +COMMENT= Suspend and resume operations for threads + +RUN_DEPENDS= p5-threads>=1.39:${PORTSDIR}/devel/p5-threads \ + p5-threads-shared>=1.01:${PORTSDIR}/devel/p5-threads-shared +BUILD_DEPENDS= ${RUN_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Thread::Suspend.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 + +pre-everything:: + @${ECHO_MSG} "--------------------------------------------------------" + @${ECHO_MSG} "This module requires a threaded perl. If your install" + @${ECHO_MSG} "is not threaded please install lang/perl5.8 with threads" + @${ECHO_MSG} "--------------------------------------------------------" + +.include <bsd.port.post.mk> diff --git a/devel/p5-Thread-Suspend/distinfo b/devel/p5-Thread-Suspend/distinfo new file mode 100644 index 000000000000..0a1e29ee9edd --- /dev/null +++ b/devel/p5-Thread-Suspend/distinfo @@ -0,0 +1,3 @@ +MD5 (Thread-Suspend-1.19.tar.gz) = b2a7066f4023fc0eeea3f6fac8dbfb7c +SHA256 (Thread-Suspend-1.19.tar.gz) = e0f5e27229a2fc731e07c39eb715d8cb19e82b9fa8705275de6540461a9954c7 +SIZE (Thread-Suspend-1.19.tar.gz) = 7484 diff --git a/devel/p5-Thread-Suspend/pkg-descr b/devel/p5-Thread-Suspend/pkg-descr new file mode 100644 index 000000000000..e9f0a1948772 --- /dev/null +++ b/devel/p5-Thread-Suspend/pkg-descr @@ -0,0 +1,7 @@ +This module adds suspend and resume operations for threads. + +Suspensions are cumulative, and need to be matched by an equal number of resume +calls. + + +WWW: http://search.cpan.org/dist/Thread-Suspend/ diff --git a/devel/p5-Thread-Suspend/pkg-plist b/devel/p5-Thread-Suspend/pkg-plist new file mode 100644 index 000000000000..a7596b878505 --- /dev/null +++ b/devel/p5-Thread-Suspend/pkg-plist @@ -0,0 +1,7 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/Thread/Suspend.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Suspend/.packlist +@dirrmtry %%SITE_PERL%%/Thread/Suspend +@dirrmtry %%SITE_PERL%%/Thread +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Suspend +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread |