Date: Thu, 15 Jun 2006 04:13:07 +0400 (MSD) From: Dmitry Marakasov <amdmi3@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98963: [NEW PORT] devel/p5-WeakRef An API to the Perl weak references Message-ID: <20060615001307.75B213C0@hades.panopticon> Resent-Message-ID: <200606150020.k5F0KGkA054553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98963 >Category: ports >Synopsis: [NEW PORT] devel/p5-WeakRef An API to the Perl weak references >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 15 00:20:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: A patch to Perl 5.005_55 by the author implements a core API for weak references. This module is a Perl-level interface to that API, allowing weak references to be created in Perl. A weak reference is just like an ordinary Perl reference except that it isn't included in the reference count of the thing referred to. This means that once all references to a particular piece of data are weak, the piece of data is freed and all the weak references are set to undef. This is particularly useful for implementing circular data structures without memory leaks or caches of objects. WWW: http://search.cpan.org/dist/WeakRef/ >How-To-Repeat: >Fix: --- p5-WeakRef-0.01.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-WeakRef # p5-WeakRef/Makefile # p5-WeakRef/pkg-descr # p5-WeakRef/pkg-plist # p5-WeakRef/distinfo # echo c - p5-WeakRef mkdir -p p5-WeakRef > /dev/null 2>&1 echo x - p5-WeakRef/Makefile sed 's/^X//' >p5-WeakRef/Makefile << 'END-of-p5-WeakRef/Makefile' X# New ports collection makefile for: p5-WeakRef X# Date created: 14 Jun 2006 X# Whom: Dmitry Marakasov <amdmi3@mail.ru> X# X# $FreeBSD$ X# X XPORTNAME= WeakRef XPORTVERSION= 0.01 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= ../../authors/id/L/LU/LUKKA/ XPKGNAMEPREFIX= p5- X XMAINTAINER= amdmi3@mail.ru XCOMMENT= An API to the Perl weak references X XPERL_CONFIGURE= yes X XMAN3= WeakRef.3 X X.include <bsd.port.mk> END-of-p5-WeakRef/Makefile echo x - p5-WeakRef/pkg-descr sed 's/^X//' >p5-WeakRef/pkg-descr << 'END-of-p5-WeakRef/pkg-descr' XA patch to Perl 5.005_55 by the author implements a core API for Xweak references. This module is a Perl-level interface to that API, Xallowing weak references to be created in Perl. X XA weak reference is just like an ordinary Perl reference except Xthat it isn't included in the reference count of the thing referred Xto. This means that once all references to a particular piece of Xdata are weak, the piece of data is freed and all the weak references Xare set to undef. This is particularly useful for implementing Xcircular data structures without memory leaks or caches of objects. X XWWW: http://search.cpan.org/dist/WeakRef/ END-of-p5-WeakRef/pkg-descr echo x - p5-WeakRef/pkg-plist sed 's/^X//' >p5-WeakRef/pkg-plist << 'END-of-p5-WeakRef/pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/auto/WeakRef/.packlist X%%SITE_PERL%%/%%PERL_ARCH%%/auto/WeakRef/WeakRef.so X%%SITE_PERL%%/%%PERL_ARCH%%/auto/WeakRef/WeakRef.bs X%%SITE_PERL%%/%%PERL_ARCH%%/WeakRef.pm X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WeakRef END-of-p5-WeakRef/pkg-plist echo x - p5-WeakRef/distinfo sed 's/^X//' >p5-WeakRef/distinfo << 'END-of-p5-WeakRef/distinfo' XMD5 (WeakRef-0.01.tar.gz) = 3162df7a6eda0dfb44676dd9ebfa3c4c XSHA256 (WeakRef-0.01.tar.gz) = 39506f9d2f5b4f353fd31e3d4764a0a3c85caa6a9df6271dac0e7620a78e616b XSIZE (WeakRef-0.01.tar.gz) = 3069 END-of-p5-WeakRef/distinfo exit --- p5-WeakRef-0.01.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060615001307.75B213C0>