aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-15 23:40:36 +0800
committerclsung <clsung@FreeBSD.org>2006-08-15 23:40:36 +0800
commitcff990ad5df539a5677d116905bd7a7e371b2dd3 (patch)
treea1e0a5b44f77739b7e57032465699a6c8b4d81f5
parent6d49cb65a890da664f144d586e253b73f38e0004 (diff)
downloadfreebsd-ports-gnome-cff990ad5df539a5677d116905bd7a7e371b2dd3.tar.gz
freebsd-ports-gnome-cff990ad5df539a5677d116905bd7a7e371b2dd3.tar.zst
freebsd-ports-gnome-cff990ad5df539a5677d116905bd7a7e371b2dd3.zip
Add p5-Hash-WithDefaults 0.04, class for hashes with key-casing
requirements supporting defaults. PR: ports/102063 Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Hash-WithDefaults/Makefile22
-rw-r--r--devel/p5-Hash-WithDefaults/distinfo3
-rw-r--r--devel/p5-Hash-WithDefaults/pkg-descr5
-rw-r--r--devel/p5-Hash-WithDefaults/pkg-plist6
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 32f7104cdf9b..0a5762aa6698 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1086,6 +1086,7 @@
SUBDIR += p5-Gtk2-Spell
SUBDIR += p5-Hash-AsObject
SUBDIR += p5-Hash-Case
+ SUBDIR += p5-Hash-WithDefaults
SUBDIR += p5-Heap
SUBDIR += p5-Heap-Simple
SUBDIR += p5-Heap-Simple-Perl
diff --git a/devel/p5-Hash-WithDefaults/Makefile b/devel/p5-Hash-WithDefaults/Makefile
new file mode 100644
index 000000000000..f394752dc792
--- /dev/null
+++ b/devel/p5-Hash-WithDefaults/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Hash-WithDefaults
+# Date created: 2006-08-15
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Hash-WithDefaults
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Hash
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Class for hashes with key-casing requirements supporting defaults
+
+PERL_CONFIGURE= yes
+
+MAN3= Hash::WithDefaults.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Hash-WithDefaults/distinfo b/devel/p5-Hash-WithDefaults/distinfo
new file mode 100644
index 000000000000..7bc0f7063355
--- /dev/null
+++ b/devel/p5-Hash-WithDefaults/distinfo
@@ -0,0 +1,3 @@
+MD5 (Hash-WithDefaults-0.04.tar.gz) = e769b5f381e2b55ec53429b847f086c1
+SHA256 (Hash-WithDefaults-0.04.tar.gz) = 57577d7424d34e9cff60dcc2cc51ef5014d159af0431751f0687de98c6a15272
+SIZE (Hash-WithDefaults-0.04.tar.gz) = 4033
diff --git a/devel/p5-Hash-WithDefaults/pkg-descr b/devel/p5-Hash-WithDefaults/pkg-descr
new file mode 100644
index 000000000000..4e023f285372
--- /dev/null
+++ b/devel/p5-Hash-WithDefaults/pkg-descr
@@ -0,0 +1,5 @@
+This module implements hashes that support "defaults". That is you may
+specify several more hashes in which the data will be looked up in
+case it is not found in the current hash.
+
+WWW: http://search.cpan.org/dist/Hash-WithDefaults/
diff --git a/devel/p5-Hash-WithDefaults/pkg-plist b/devel/p5-Hash-WithDefaults/pkg-plist
new file mode 100644
index 000000000000..bd9f259fb83e
--- /dev/null
+++ b/devel/p5-Hash-WithDefaults/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/WithDefaults/.packlist
+%%SITE_PERL%%/Hash/WithDefaults.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/WithDefaults
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash
+@dirrmtry %%SITE_PERL%%/Hash