summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-11-14 18:00:25 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-11-14 18:00:25 +0000
commit10a4ccae52e7d61427b64656ffc268973f8b6034 (patch)
tree40452731e1c2d308bbcd02ad3ab261647be1e8ed
parentAdd p5-DBD-File 0.22, it's Base class for writing DBI drivers for plain files (diff)
Add p5-DBD-RAM 0.072, it's a DBI driver for files and data structures.
Notes
Notes: svn path=/head/; revision=93968
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBD-RAM/Makefile33
-rw-r--r--databases/p5-DBD-RAM/distinfo1
-rw-r--r--databases/p5-DBD-RAM/pkg-descr8
-rw-r--r--databases/p5-DBD-RAM/pkg-plist5
5 files changed, 48 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 8adf6c86916c..397226c08f72 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -113,6 +113,7 @@
SUBDIR += p5-DBD-Oracle
SUBDIR += p5-DBD-Pg
SUBDIR += p5-DBD-PgSPI
+ SUBDIR += p5-DBD-RAM
SUBDIR += p5-DBD-SQLite
SUBDIR += p5-DBD-Sybase
SUBDIR += p5-DBD-XBase
diff --git a/databases/p5-DBD-RAM/Makefile b/databases/p5-DBD-RAM/Makefile
new file mode 100644
index 000000000000..205d6dc53d6f
--- /dev/null
+++ b/databases/p5-DBD-RAM/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-DBD-RAM
+# Date created: Nov 15 2003
+# Whom: vanilla
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBD-RAM
+PORTVERSION= 0.072
+PORTREVISION= 0
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBD
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@freebsd.org
+COMMENT= DBI driver for files and data structures
+
+PERL_CONFIGURE= yes
+
+MAN3= DBD::RAM.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
+.else
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-DBD-RAM/distinfo b/databases/p5-DBD-RAM/distinfo
new file mode 100644
index 000000000000..6da0cc29b114
--- /dev/null
+++ b/databases/p5-DBD-RAM/distinfo
@@ -0,0 +1 @@
+MD5 (DBD-RAM-0.072.tar.gz) = 4ab119a341b4b2afa4644805239449b9
diff --git a/databases/p5-DBD-RAM/pkg-descr b/databases/p5-DBD-RAM/pkg-descr
new file mode 100644
index 000000000000..056a4fdc855e
--- /dev/null
+++ b/databases/p5-DBD-RAM/pkg-descr
@@ -0,0 +1,8 @@
+DBD::RAM allows you to import almost any type of Perl data
+structure into an in-memory table and then use DBI and SQL
+to access and modify it. It also allows direct access to
+almost any kind of file, supporting SQL manipulation
+of the file without converting the file out of its native
+format.
+
+WWW: http://search.cpan.org/dist/DBD-RAM
diff --git a/databases/p5-DBD-RAM/pkg-plist b/databases/p5-DBD-RAM/pkg-plist
new file mode 100644
index 000000000000..8b8ef341777a
--- /dev/null
+++ b/databases/p5-DBD-RAM/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/DBD/RAM.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/RAM/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/RAM
+@unexec rmdir %D/%%SITE_PERL%%/%PERL_ARCH%%/auto/DBD 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true