summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortv <tv>1998-12-05 03:28:48 +0000
committertv <tv>1998-12-05 03:28:48 +0000
commit6fb610a22b1ee7a40d2b3bd59b6c715f0cafdbeb (patch)
treefb5fec162fb8cf1efc366c3d75430102bb46c765 /devel
parent8659019326690d053af342b06e198dba2b2ecec9 (diff)
downloadpkgsrc-6fb610a22b1ee7a40d2b3bd59b6c715f0cafdbeb.tar.gz
Add MLDBM-2.00, a perl5 module for storing arbitrary data in tied hashes
(including such things as references in DBM files).
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-MLDBM/Makefile21
-rw-r--r--devel/p5-MLDBM/files/md53
-rw-r--r--devel/p5-MLDBM/pkg/COMMENT1
-rw-r--r--devel/p5-MLDBM/pkg/DESCR9
-rw-r--r--devel/p5-MLDBM/pkg/PLIST10
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/p5-MLDBM/Makefile b/devel/p5-MLDBM/Makefile
new file mode 100644
index 00000000000..792d7c9bedd
--- /dev/null
+++ b/devel/p5-MLDBM/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/12/05 03:28:48 tv Exp $
+#
+
+DISTNAME= MLDBM-2.00
+PKGNAME= p5-MLDBM-2.00
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= MLDBM
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/MLDBM/MLDBM.html
+
+BUILD_DEPENDS= ${PREFIX}/lib/perl5/site_perl/Data/Dumper.pm:../../devel/p5-Data-Dumper
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_PERL5= YES
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MLDBM/files/md5 b/devel/p5-MLDBM/files/md5
new file mode 100644
index 00000000000..f2e8c5e3b63
--- /dev/null
+++ b/devel/p5-MLDBM/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1998/12/05 03:28:48 tv Exp $
+
+MD5 (MLDBM-2.00.tar.gz) = a8b85ac11fc3db0f549b02102209ec50
diff --git a/devel/p5-MLDBM/pkg/COMMENT b/devel/p5-MLDBM/pkg/COMMENT
new file mode 100644
index 00000000000..71263868ba1
--- /dev/null
+++ b/devel/p5-MLDBM/pkg/COMMENT
@@ -0,0 +1 @@
+perl5 module for storing arbitrary data in tied hashes
diff --git a/devel/p5-MLDBM/pkg/DESCR b/devel/p5-MLDBM/pkg/DESCR
new file mode 100644
index 00000000000..59fc10669da
--- /dev/null
+++ b/devel/p5-MLDBM/pkg/DESCR
@@ -0,0 +1,9 @@
+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/devel/p5-MLDBM/pkg/PLIST b/devel/p5-MLDBM/pkg/PLIST
new file mode 100644
index 00000000000..cb4ab6f667e
--- /dev/null
+++ b/devel/p5-MLDBM/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/05 03:28:48 tv Exp $
+lib/perl5/man/man3/MLDBM.3
+lib/perl5/site_perl/alpha-netbsd/auto/MLDBM/.packlist
+lib/perl5/site_perl/MLDBM.pm
+lib/perl5/site_perl/MLDBM/Serializer/Data/Dumper.pm
+lib/perl5/site_perl/MLDBM/Serializer/FreezeThaw.pm
+lib/perl5/site_perl/MLDBM/Serializer/Storable.pm
+@dirrm lib/perl5/site_perl/alpha-netbsd/auto/MLDBM
+@dirrm lib/perl5/site_perl/MLDBM/Serializer/Data
+@dirrm lib/perl5/site_perl/MLDBM/Serializer