Add p5-Thread-Apartment 0.51, apartment threading wrapper for Perl

objects.

PR:		ports/102637
Submitted by:	Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
This commit is contained in:
Cheng-Lung Sung 2006-09-29 00:47:10 +00:00
parent d018b4fcf2
commit 08b73854c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174072
5 changed files with 73 additions and 0 deletions

View file

@ -1430,6 +1430,7 @@
SUBDIR += p5-Test-use-ok
SUBDIR += p5-Text-LevenshteinXS
SUBDIR += p5-Text-vFile-asData
SUBDIR += p5-Thread-Apartment
SUBDIR += p5-Thread-Queue-Duplex
SUBDIR += p5-Tie-Array-Sorted
SUBDIR += p5-Tie-Cache

View file

@ -0,0 +1,33 @@
# New ports collection makefile for: p5-Thread-Apartment
# Date created: 2006-08-29
# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= Thread-Apartment
PORTVERSION= 0.51
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Thread
PKGNAMEPREFIX= p5-
MAINTAINER= tjs@cdpa.nsysu.edu.tw
COMMENT= Apartment threading wrapper for Perl objects
RUN_DEPENDS= p5-Thread-Queue-Duplex>=0.92:${PORTSDIR}/devel/p5-Thread-Queue-Duplex \
p5-Class-ISA>=0.32:${PORTSDIR}/devel/p5-Class-ISA \
p5-Class-Inspector>=1.08:${PORTSDIR}/devel/p5-Class-Inspector
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Thread::Apartment.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>

View file

@ -0,0 +1,3 @@
MD5 (Thread-Apartment-0.51.tar.gz) = e10c9acfb5976dece597fa2c9f0a0bd6
SHA256 (Thread-Apartment-0.51.tar.gz) = 571fa77d4938566cd2c5284edd5ef513198ef0614d1a50af0c73faafd111df84
SIZE (Thread-Apartment-0.51.tar.gz) = 73960

View file

@ -0,0 +1,21 @@
Thread::Apartment provides an apartment threading wrapper
for Perl classes. "Apartment threading" is a method for
isolating an object (or object hierarchy) in its own thread,
and providing external interfaces via lightweight client
proxy objects. This approach is especially valuable in the
Perl threads environment, which doesn't provide a direct
means of passing complex, nested structure objects between
threads, and for non-threadsafe legacy object architectures,
e.g., Perl/Tk.
By using lightweight client proxy objects that implement the
Thread::Queue::Queueable interface, with Thread::Queue::Duplex
objects as the communication channel between client proxies
and apartment threads (or between threads in general), a more
thread-friendly OO environment is provided, ala Java, i.e.,
the ability to pass arbitrary objects between arbitrary threads.
Thread::Apartment is a fundamental component of the PSiCHE
framework (http://www.presicient.com/psiche).
WWW: http://search.cpan.org/dist/Thread-Apartment/

View file

@ -0,0 +1,15 @@
@comment $FreeBSD$
%%SITE_PERL%%/Thread/Apartment/Server.pm
%%SITE_PERL%%/Thread/Apartment/MuxServer.pm
%%SITE_PERL%%/Thread/Apartment/EventServer.pm
%%SITE_PERL%%/Thread/Apartment/Container.pm
%%SITE_PERL%%/Thread/Apartment/Common.pm
%%SITE_PERL%%/Thread/Apartment/Closure.pm
%%SITE_PERL%%/Thread/Apartment/Client.pm
%%SITE_PERL%%/Thread/Apartment.pod
%%SITE_PERL%%/Thread/Apartment.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Apartment/.packlist
@dirrmtry %%SITE_PERL%%/Thread/Apartment
@dirrmtry %%SITE_PERL%%/Thread
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Apartment
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread