diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Test-Refcount/DESCR | 6 | ||||
-rw-r--r-- | devel/p5-Test-Refcount/Makefile | 26 | ||||
-rw-r--r-- | devel/p5-Test-Refcount/distinfo | 5 |
3 files changed, 37 insertions, 0 deletions
diff --git a/devel/p5-Test-Refcount/DESCR b/devel/p5-Test-Refcount/DESCR new file mode 100644 index 00000000000..0c9f297a628 --- /dev/null +++ b/devel/p5-Test-Refcount/DESCR @@ -0,0 +1,6 @@ +The Perl garbage collector uses simple reference counting during the normal +execution of a program. This means that cycles or unweakened references in +other parts of code can keep an object around for longer than intended. To +help avoid this problem, the reference count of a new object from its class +constructor ought to be 1. This way, the caller can know the object will be +properly DESTROYed when it drops all of its references to it. diff --git a/devel/p5-Test-Refcount/Makefile b/devel/p5-Test-Refcount/Makefile new file mode 100644 index 00000000000..9c878cec5df --- /dev/null +++ b/devel/p5-Test-Refcount/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2014/02/23 11:19:52 sno Exp $ + +DISTNAME= Test-Refcount-0.07 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/P/PE/PEVANS/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://metacpan.org/release/Test-Refcount +COMMENT= Assert reference counts on objects +LICENSE= ${PERL5_LICENSE} + + +BUILD_DEPENDS+= p5-Module-Build>=0.36:../../devel/p5-Module-Build + +USE_LANGUAGES= +PERL5_MODULE_TYPE+= Module::Build +PERL5_PACKLIST+= auto/Test/Refcount/.packlist +PERL5_REQD+= 5.7.3 # Scalar::Util >= 0 +PERL5_REQD+= 5.6.2 # Test::Builder >= 0 +PERL5_REQD+= 5.5 # B >= 0 +PERL5_REQD+= 5.6.2 # Test::More >= 0 +PERL5_REQD+= 5.8.8 # Test::Builder::Tester >= 0 + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Test-Refcount/distinfo b/devel/p5-Test-Refcount/distinfo new file mode 100644 index 00000000000..459166fe87a --- /dev/null +++ b/devel/p5-Test-Refcount/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/02/23 11:19:52 sno Exp $ + +SHA1 (Test-Refcount-0.07.tar.gz) = 5d7b7f17db8d2735568e4f8e4e6dc1176e35b95f +RMD160 (Test-Refcount-0.07.tar.gz) = 70afc2f6b81441c3ac5118c37ba27ae5e6938d9b +Size (Test-Refcount-0.07.tar.gz) = 15953 bytes |