diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-12 04:41:39 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-12 04:41:39 +0000 |
commit | 0f3a8acf83cccbfc5dc11322d79e42e233366ed9 (patch) | |
tree | 1a22de3670739ab7a0d20be288c6b5bbf9682980 /devel | |
parent | 699374c37893cf5d82c57c017287c8ee60f4d377 (diff) | |
download | pkgsrc-0f3a8acf83cccbfc5dc11322d79e42e233366ed9.tar.gz |
Initial import of p5-Storage:
Perl extension module for persistent data storage
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Storage/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-Storage/files/md5 | 3 | ||||
-rw-r--r-- | devel/p5-Storage/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/p5-Storage/pkg/DESCR | 18 | ||||
-rw-r--r-- | devel/p5-Storage/pkg/PLIST | 1 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/p5-Storage/Makefile b/devel/p5-Storage/Makefile new file mode 100644 index 00000000000..96c4b337fc0 --- /dev/null +++ b/devel/p5-Storage/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/02/12 04:41:39 jtb Exp $ + +DISTNAME= Storable-1.0.7 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Storable/} + +MAINTAINER= jtb@netbsd.org + +USE_PERL5= #defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Storable/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" + diff --git a/devel/p5-Storage/files/md5 b/devel/p5-Storage/files/md5 new file mode 100644 index 00000000000..2299095042d --- /dev/null +++ b/devel/p5-Storage/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/02/12 04:41:39 jtb Exp $ + +MD5 (Storable-1.0.7.tar.gz) = 9c125079df77aa2ef2155ee910bb7052 diff --git a/devel/p5-Storage/pkg/COMMENT b/devel/p5-Storage/pkg/COMMENT new file mode 100644 index 00000000000..9a83b878877 --- /dev/null +++ b/devel/p5-Storage/pkg/COMMENT @@ -0,0 +1 @@ +Perl extension module for persistent data storage diff --git a/devel/p5-Storage/pkg/DESCR b/devel/p5-Storage/pkg/DESCR new file mode 100644 index 00000000000..cba0c8e2032 --- /dev/null +++ b/devel/p5-Storage/pkg/DESCR @@ -0,0 +1,18 @@ +The Storable extension brings persistency to your data. + +You may recursively store to disk any data structure, no matter how +complex and circular it is, provided it contains only SCALAR, ARRAY, +HASH (possibly tied) and references (possibly blessed) to those items. + +At a later stage, or in another program, you may retrieve data from +the stored file and recreate the same hiearchy in memory. If you had +blessed references, the retrieved references are blessed into the same +package, so you must make sure you have access to the same perl class +as the one used to create the relevant objects. + +There is also a dclone() routine which performs an optimized mirroring +of any data structure, preserving its topology. + +Objects (blessed references) may also redefine the way storage and +retrieval is performed, and/or what deep cloning should do on those +objects. diff --git a/devel/p5-Storage/pkg/PLIST b/devel/p5-Storage/pkg/PLIST new file mode 100644 index 00000000000..9557aaacf21 --- /dev/null +++ b/devel/p5-Storage/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/12 04:41:39 jtb Exp $ |