diff options
author | ijliao <ijliao@FreeBSD.org> | 2006-08-02 09:18:48 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2006-08-02 09:18:48 +0800 |
commit | 24866acf42bc348fd1961077a0766ded1f1c0464 (patch) | |
tree | 7fbe7585e0226a17a6e45926283d630fb994e46e | |
parent | 559dd5d429400b04b7ec8d2075104b12c0421549 (diff) | |
download | freebsd-ports-gnome-24866acf42bc348fd1961077a0766ded1f1c0464.tar.gz freebsd-ports-gnome-24866acf42bc348fd1961077a0766ded1f1c0464.tar.zst freebsd-ports-gnome-24866acf42bc348fd1961077a0766ded1f1c0464.zip |
add p5-Hash-AsObject 0.05
Hashes with accessors/mutators
PR: 101017
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Hash-AsObject/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Hash-AsObject/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Hash-AsObject/pkg-descr | 8 | ||||
-rw-r--r-- | devel/p5-Hash-AsObject/pkg-plist | 5 |
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index d357561cd0bd..f442ab2a3fef 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1068,6 +1068,7 @@ SUBDIR += p5-Glib2 SUBDIR += p5-Gnome2-GConf SUBDIR += p5-Gtk2-Spell + SUBDIR += p5-Hash-AsObject SUBDIR += p5-Heap SUBDIR += p5-Heap-Simple SUBDIR += p5-Heap-Simple-Perl diff --git a/devel/p5-Hash-AsObject/Makefile b/devel/p5-Hash-AsObject/Makefile new file mode 100644 index 000000000000..75777e0c1ff5 --- /dev/null +++ b/devel/p5-Hash-AsObject/Makefile @@ -0,0 +1,22 @@ +# ex:ts=8 +# Ports collection makefile for: Hash::AsObject +# Date created: Jul 29, 2006 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= Hash-AsObject +PORTVERSION= 0.05 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Hashes with accessors/mutators + +PERL_CONFIGURE= yes + +MAN3= Hash::AsObject.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Hash-AsObject/distinfo b/devel/p5-Hash-AsObject/distinfo new file mode 100644 index 000000000000..7c4d33aa4041 --- /dev/null +++ b/devel/p5-Hash-AsObject/distinfo @@ -0,0 +1,3 @@ +MD5 (Hash-AsObject-0.05.tar.gz) = 73071a11b6d65881b0318f8155c69ad4 +SHA256 (Hash-AsObject-0.05.tar.gz) = c7fb519de9d4c5d1f01b056f0ee41079ece385325f25bed26827dac5d65b07bb +SIZE (Hash-AsObject-0.05.tar.gz) = 7276 diff --git a/devel/p5-Hash-AsObject/pkg-descr b/devel/p5-Hash-AsObject/pkg-descr new file mode 100644 index 000000000000..3bd9e26ca81d --- /dev/null +++ b/devel/p5-Hash-AsObject/pkg-descr @@ -0,0 +1,8 @@ +A Hash::AsObject is a blessed hash that provides read-write access to its +elements using accessors. (Actually, they're both accessors and mutators.) + +It's designed to act as much like a plain hash as possible; this means, +for example, that you can use methods like DESTROY and if the Hash::AsObject +has an element with that name, it'll get or set it. + +WWW: http://search.cpan.org/dist/Hash-AsObject/ diff --git a/devel/p5-Hash-AsObject/pkg-plist b/devel/p5-Hash-AsObject/pkg-plist new file mode 100644 index 000000000000..eca9f42d50dd --- /dev/null +++ b/devel/p5-Hash-AsObject/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Hash/AsObject.pm +@dirrmtry %%SITE_PERL%%/Hash +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/AsObject/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash/AsObject +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hash |