summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-RAM
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 /databases/p5-DBD-RAM
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
Diffstat (limited to 'databases/p5-DBD-RAM')
-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
4 files changed, 47 insertions, 0 deletions
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