aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-10-15 23:31:09 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-10-15 23:31:09 +0800
commit74d8cc40c0f211dc5b024edf0da5ca377769456d (patch)
treef6fcdc10395955af6fc46c077e85345fd4cd75bd /devel
parent1c69bebb12fc6e8933b46402141f8a9f031e4ee3 (diff)
downloadfreebsd-ports-gnome-74d8cc40c0f211dc5b024edf0da5ca377769456d.tar.gz
freebsd-ports-gnome-74d8cc40c0f211dc5b024edf0da5ca377769456d.tar.zst
freebsd-ports-gnome-74d8cc40c0f211dc5b024edf0da5ca377769456d.zip
- Add p5-Hash-NoRef 0.03
Hash::NoRef is a Perl module to create HASH that store values without increase the reference count (weak references). This can be used to store objects but without interfere in the DESTROY mechanism, since the reference in this HASH won't count. WWW: http://search.cpan.org/dist/Hash-NoRef/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Hash-NoRef/Makefile21
-rw-r--r--devel/p5-Hash-NoRef/distinfo2
-rw-r--r--devel/p5-Hash-NoRef/pkg-descr6
-rw-r--r--devel/p5-Hash-NoRef/pkg-plist7
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 533de0e29874..946088d4d330 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1807,6 +1807,7 @@
SUBDIR += p5-Hash-MoreUtils
SUBDIR += p5-Hash-MultiKey
SUBDIR += p5-Hash-MultiValue
+ SUBDIR += p5-Hash-NoRef
SUBDIR += p5-Hash-Union
SUBDIR += p5-Hash-Util-FieldHash-Compat
SUBDIR += p5-Hash-WithDefaults
diff --git a/devel/p5-Hash-NoRef/Makefile b/devel/p5-Hash-NoRef/Makefile
new file mode 100644
index 000000000000..996ce63be3aa
--- /dev/null
+++ b/devel/p5-Hash-NoRef/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: p5-Hash-NoRef
+# Date created: 2011-10-10
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Hash-NoRef
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= A HASH that store values without increase the reference count
+
+PERL_CONFIGURE= yes
+
+MAN3= Hash::NoRef.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Hash-NoRef/distinfo b/devel/p5-Hash-NoRef/distinfo
new file mode 100644
index 000000000000..9423a7a62ee7
--- /dev/null
+++ b/devel/p5-Hash-NoRef/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Hash-NoRef-0.03.tar.gz) = 7da135291c35286bafdc3e1ec2a2d94fd0ad7232cfd7158184fa793ed46417a4
+SIZE (Hash-NoRef-0.03.tar.gz) = 3312
diff --git a/devel/p5-Hash-NoRef/pkg-descr b/devel/p5-Hash-NoRef/pkg-descr
new file mode 100644
index 000000000000..3e9fd0c66050
--- /dev/null
+++ b/devel/p5-Hash-NoRef/pkg-descr
@@ -0,0 +1,6 @@
+Hash::NoRef is a Perl module to create HASH that store values without increase
+the reference count (weak references). This can be used to store objects but
+without interfere in the DESTROY mechanism, since the reference in this HASH
+won't count.
+
+WWW: http://search.cpan.org/dist/Hash-NoRef/
diff --git a/devel/p5-Hash-NoRef/pkg-plist b/devel/p5-Hash-NoRef/pkg-plist
new file mode 100644
index 000000000000..088a12d7d1e5
--- /dev/null
+++ b/devel/p5-Hash-NoRef/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Hash/NoRef.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/NoRef/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/NoRef/NoRef.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/NoRef/NoRef.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/NoRef
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Hash