diff options
Diffstat (limited to 'databases/p5-MLDBM')
-rw-r--r-- | databases/p5-MLDBM/Makefile | 24 | ||||
-rw-r--r-- | databases/p5-MLDBM/files/patch-sum | 3 | ||||
-rw-r--r-- | databases/p5-MLDBM/patches/patch-aa | 13 | ||||
-rw-r--r-- | databases/p5-MLDBM/pkg/DESCR | 11 | ||||
-rw-r--r-- | databases/p5-MLDBM/pkg/PLIST | 2 |
5 files changed, 41 insertions, 12 deletions
diff --git a/databases/p5-MLDBM/Makefile b/databases/p5-MLDBM/Makefile index d0fe0f13043..7c4c4a78e65 100644 --- a/databases/p5-MLDBM/Makefile +++ b/databases/p5-MLDBM/Makefile @@ -1,16 +1,22 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/03/25 05:14:28 mjl Exp $ +# $NetBSD: Makefile,v 1.2 2001/04/02 14:33:50 agc Exp $ # -DISTNAME= MLDBM-2.00 -PKGNAME= p5-MLDBM-2.0 -CATEGORIES= databases perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} +DISTNAME= MLDBM-2.00 +PKGNAME= p5-MLDBM-2.00 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MLDBM/} -MAINTAINER= pkgsrc@netbsd.org -COMMENT= Perl module store multidimensional hash structures in tied hashes +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/MLDBM/MLDBM.html +COMMENT= perl5 module for storing arbitrary data in tied hashes -USE_PERL5= # defined -PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/MLDBM/.packlist +DEPENDS+= p5-Data-Dumper-*:../../devel/p5-Data-Dumper + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/MLDBM/.packlist + +post-patch: + ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \; do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL diff --git a/databases/p5-MLDBM/files/patch-sum b/databases/p5-MLDBM/files/patch-sum new file mode 100644 index 00000000000..a39fd39a833 --- /dev/null +++ b/databases/p5-MLDBM/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2001/04/02 14:33:50 agc Exp $ + +MD5 (patch-aa) = 9659f7252fd47b353af4a2fb2ec79236 diff --git a/databases/p5-MLDBM/patches/patch-aa b/databases/p5-MLDBM/patches/patch-aa new file mode 100644 index 00000000000..b6afb3845f3 --- /dev/null +++ b/databases/p5-MLDBM/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2001/04/02 14:33:50 agc Exp $ + +--- lib/MLDBM.pm.orig Sun May 10 18:06:39 1998 ++++ lib/MLDBM.pm +@@ -255,7 +255,7 @@ + + B<MLDBM> relies on an underlying TIEHASH implementation (usually a + DBM package), and an underlying serialization package. The respective +-defaults are B<SDBM_File> and D<Data::Dumper>. Both of these defaults ++defaults are B<SDBM_File> and B<Data::Dumper>. Both of these defaults + can be changed. Changing the B<SDBM_File> default is strongly recommended. + See L<WARNINGS> below. + diff --git a/databases/p5-MLDBM/pkg/DESCR b/databases/p5-MLDBM/pkg/DESCR index b1e2cc3217b..59fc10669da 100644 --- a/databases/p5-MLDBM/pkg/DESCR +++ b/databases/p5-MLDBM/pkg/DESCR @@ -1,2 +1,9 @@ -MLDBM is a Perl module that can be used to store multidimensional -hash structures in tied hashes (including DBM files). +This module can serve as a transparent interface to any TIEHASH package +that is required to store arbitrary perl data, including nested +references. Thus, this module can be used for storing references and +other arbitrary data within DBM databases. + +It works by serializing the references in the hash into a single string. +In the underlying TIEHASH package (usually a DBM database), it is this +string that gets stored. When the value is fetched again, the string is +deserialized to reconstruct the data structure into memory. diff --git a/databases/p5-MLDBM/pkg/PLIST b/databases/p5-MLDBM/pkg/PLIST index 6d031b7ac9c..65574be9f3c 100644 --- a/databases/p5-MLDBM/pkg/PLIST +++ b/databases/p5-MLDBM/pkg/PLIST @@ -1 +1 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/25 05:14:28 mjl Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/04/02 14:33:50 agc Exp $ |