aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Tie-RefHash
diff options
context:
space:
mode:
authorLars Balker Rasmussen <lbr@FreeBSD.org>2007-06-27 13:51:04 +0000
committerLars Balker Rasmussen <lbr@FreeBSD.org>2007-06-27 13:51:04 +0000
commit0ad56eab051c267bb27ccf0749485807d23ab6f0 (patch)
tree618c79569db079e06f9852b4c1da59fbfd67d182 /devel/p5-Tie-RefHash
parentcf06f7593d5e77b6d050830a8ade24c77b24bf2c (diff)
downloadports-0ad56eab051c267bb27ccf0749485807d23ab6f0.tar.gz
ports-0ad56eab051c267bb27ccf0749485807d23ab6f0.zip
Notes
Diffstat (limited to 'devel/p5-Tie-RefHash')
-rw-r--r--devel/p5-Tie-RefHash/Makefile21
-rw-r--r--devel/p5-Tie-RefHash/distinfo3
-rw-r--r--devel/p5-Tie-RefHash/pkg-descr15
-rw-r--r--devel/p5-Tie-RefHash/pkg-plist5
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-Tie-RefHash/Makefile b/devel/p5-Tie-RefHash/Makefile
new file mode 100644
index 000000000000..6cb6a00a0cad
--- /dev/null
+++ b/devel/p5-Tie-RefHash/Makefile
@@ -0,0 +1,21 @@
+# Ports collection makefile for: p5-Tie-RefHash
+# Date created: Jun 27, 2007
+# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Tie-RefHash
+PORTVERSION= 1.37
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lbr@FreeBSD.org
+COMMENT= Tie::RefHash - use references as hash keys
+
+PERL_CONFIGURE= yes
+
+MAN3= Tie::RefHash.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Tie-RefHash/distinfo b/devel/p5-Tie-RefHash/distinfo
new file mode 100644
index 000000000000..746836a41d59
--- /dev/null
+++ b/devel/p5-Tie-RefHash/distinfo
@@ -0,0 +1,3 @@
+MD5 (Tie-RefHash-1.37.tar.gz) = 42dbd4d263d051ddcebc74dcd852c329
+SHA256 (Tie-RefHash-1.37.tar.gz) = e3bce22628140db509111fcec4ae791f27c905c162134e8925662d5bd6781e08
+SIZE (Tie-RefHash-1.37.tar.gz) = 7613
diff --git a/devel/p5-Tie-RefHash/pkg-descr b/devel/p5-Tie-RefHash/pkg-descr
new file mode 100644
index 000000000000..4e45e58aa522
--- /dev/null
+++ b/devel/p5-Tie-RefHash/pkg-descr
@@ -0,0 +1,15 @@
+This module provides the ability to use references as hash keys if you
+first "tie" the hash variable to this module. Normally, only the keys
+of the tied hash itself are preserved as references; to use references
+as keys in hashes-of-hashes, use Tie::RefHash::Nestable, included as
+part of Tie::RefHash.
+
+It is implemented using the standard perl TIEHASH interface. Please
+see the "tie" entry in perlfunc(1) and perltie(1) for more information.
+
+The Nestable version works by looking for hash references being stored
+and converting them to tied hashes so that they too can have references
+as keys. This will happen without warning whenever you store a refer-
+ence to one of your own hashes in the tied hash.
+
+WWW: http://search.cpan.org/dist/Tie-RefHash/
diff --git a/devel/p5-Tie-RefHash/pkg-plist b/devel/p5-Tie-RefHash/pkg-plist
new file mode 100644
index 000000000000..9c3cc50ca7db
--- /dev/null
+++ b/devel/p5-Tie-RefHash/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Tie/RefHash.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/RefHash/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie/RefHash
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tie
+@dirrmtry %%SITE_PERL%%/Tie