aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-07 15:23:10 +0800
committerwill <will@FreeBSD.org>2001-01-07 15:23:10 +0800
commit28a5cfbc2628f21e1642caf4a9bba363ef55a190 (patch)
treef4ef02dfd477ad9d5e6508969ae9bd80a280546c /databases
parenta0686dc600aef23f7184c2fb9d4f022a6f65dfd3 (diff)
downloadfreebsd-ports-gnome-28a5cfbc2628f21e1642caf4a9bba363ef55a190.tar.gz
freebsd-ports-gnome-28a5cfbc2628f21e1642caf4a9bba363ef55a190.tar.zst
freebsd-ports-gnome-28a5cfbc2628f21e1642caf4a9bba363ef55a190.zip
Add p5-BerkeleyDB 0.12, perl5 interface to the Berkeley DB package
revision 3. PR: 24064 Submitted by: T. William Wells <bill@twwells.com> Regex help: Jeremy Shaffner <jeremy@external.org>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-BerkeleyDB/Makefile27
-rw-r--r--databases/p5-BerkeleyDB/distinfo1
-rw-r--r--databases/p5-BerkeleyDB/pkg-comment1
-rw-r--r--databases/p5-BerkeleyDB/pkg-descr13
-rw-r--r--databases/p5-BerkeleyDB/pkg-plist10
6 files changed, 53 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index e64b8f27bbe4..d2fa9c9d3108 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -34,6 +34,7 @@
SUBDIR += mytop
SUBDIR += p5-ApacheDBILogConfig
SUBDIR += p5-ApacheDBILogger
+ SUBDIR += p5-BerkeleyDB
SUBDIR += p5-DBD-CSV
SUBDIR += p5-DBD-Pg
SUBDIR += p5-DBD-XBase
diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile
new file mode 100644
index 000000000000..1361ca23ad19
--- /dev/null
+++ b/databases/p5-BerkeleyDB/Makefile
@@ -0,0 +1,27 @@
+# ports collection makefile for: perl interface to Berkeley DB v3
+# Date created: 3 January 2001
+# Whom: T. William Wells <bill@twwells.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= BerkeleyDB
+PORTVERSION= 0.12
+CATEGORIES= databases perl5
+MASTER_SITES= $(MASTER_SITE_PERL_CPAN)
+MASTER_SITE_SUBDIR= BerkeleyDB
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bill@twwells.com
+
+LIB_DEPENDS= db3.1:${PORTSDIR}/databases/db3
+
+PERL_CONFIGURE= yes
+ALL_TARGET= all test
+USE_PERL5= yes
+
+post-patch:
+ ${PERL} -pi -e 's|^(INCLUDE\s+= )./libraries/.*$$|$$1\$(PREFIX)/include/db3|g; \
+ s|^(LIB\s+= )./libraries/.*$$|$$1$(PREFIX)/lib|g' ${WRKSRC}/config.in
+
+.include <bsd.port.mk>
diff --git a/databases/p5-BerkeleyDB/distinfo b/databases/p5-BerkeleyDB/distinfo
new file mode 100644
index 000000000000..bf07cc796221
--- /dev/null
+++ b/databases/p5-BerkeleyDB/distinfo
@@ -0,0 +1 @@
+MD5 (BerkeleyDB-0.12.tar.gz) = 0c1ff9467cc69aa4f0a30aaed7ab50ff
diff --git a/databases/p5-BerkeleyDB/pkg-comment b/databases/p5-BerkeleyDB/pkg-comment
new file mode 100644
index 000000000000..285493aa8538
--- /dev/null
+++ b/databases/p5-BerkeleyDB/pkg-comment
@@ -0,0 +1 @@
+Perl5 interface to the Berkeley DB package revision 3
diff --git a/databases/p5-BerkeleyDB/pkg-descr b/databases/p5-BerkeleyDB/pkg-descr
new file mode 100644
index 000000000000..22d6c3ec8d05
--- /dev/null
+++ b/databases/p5-BerkeleyDB/pkg-descr
@@ -0,0 +1,13 @@
+This is the perl5 interface to Berkeley DB version 3, which it
+depends on.
+
+You may want to use this, instead of the default dbm that perl
+provides, as that one is based on version 1, which is seriously
+buggy. E.g., if keys or data are over a hundred bytes or so, bad
+things may happen to your dbm files. Never mind all the extra
+features....
+
+WWW: http://www.sleepycat.com/
+
+Bill Wells
+bill@twwells.com
diff --git a/databases/p5-BerkeleyDB/pkg-plist b/databases/p5-BerkeleyDB/pkg-plist
new file mode 100644
index 000000000000..c31055834899
--- /dev/null
+++ b/databases/p5-BerkeleyDB/pkg-plist
@@ -0,0 +1,10 @@
+lib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB.pm
+lib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB.pod
+lib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB/Btree.pm
+lib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB/Hash.pm
+lib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/.packlist
+lib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/BerkeleyDB.bs
+lib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/BerkeleyDB.so
+lib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB/autosplit.ix
+@dirrm lib/perl5/site_perl/5.005/i386-freebsd/BerkeleyDB
+@dirrm lib/perl5/site_perl/5.005/i386-freebsd/auto/BerkeleyDB