summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2004-11-06 19:06:08 +0000
committerhe <he@pkgsrc.org>2004-11-06 19:06:08 +0000
commita62fa71430c362b93fcdcf23836aecf8ae9021dd (patch)
tree0949f8d361345e7561d2be8091761872f77c1dbf /databases
parent0bd5885d8db649ce23a4bc45c2636e5dc8fa9a96 (diff)
downloadpkgsrc-a62fa71430c362b93fcdcf23836aecf8ae9021dd.tar.gz
Import p5-Class-DBI version 0.96.
Class::DBI provides a convenient abstraction layer to a database. It not only provides a simple database to object mapping layer, but can be used to implement several higher order database functions (triggers, referential integrity, cascading delete etc.), at the application level, rather than at the database. This is particularly useful when using a database which doesn't support these (such as MySQL), or when you would like your code to be portable across multiple databases which might implement these things in different ways. In short, Class::DBI aims to make it simple to introduce 'best practice' when dealing with data stored in a relational database.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-Class-DBI/DESCR14
-rw-r--r--databases/p5-Class-DBI/Makefile26
-rw-r--r--databases/p5-Class-DBI/PLIST1
-rw-r--r--databases/p5-Class-DBI/distinfo4
4 files changed, 45 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI/DESCR b/databases/p5-Class-DBI/DESCR
new file mode 100644
index 00000000000..93d82e3875e
--- /dev/null
+++ b/databases/p5-Class-DBI/DESCR
@@ -0,0 +1,14 @@
+Class::DBI provides a convenient abstraction layer to a database.
+
+It not only provides a simple database to object mapping layer, but can
+be used to implement several higher order database functions (triggers,
+referential integrity, cascading delete etc.), at the application level,
+rather than at the database.
+
+This is particularly useful when using a database which doesn't support
+these (such as MySQL), or when you would like your code to be portable
+across multiple databases which might implement these things in
+different ways.
+
+In short, Class::DBI aims to make it simple to introduce 'best practice'
+when dealing with data stored in a relational database.
diff --git a/databases/p5-Class-DBI/Makefile b/databases/p5-Class-DBI/Makefile
new file mode 100644
index 00000000000..1b90e8beb10
--- /dev/null
+++ b/databases/p5-Class-DBI/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 19:06:08 he Exp $
+#
+
+DISTNAME= Class-DBI-0.96
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5cdi
+CATEGORIES= perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~tmtm/Class-DBI-0.96/
+COMMENT= Perl5 module for Simple Database Abstraction
+
+DEPENDS+= p5-Class-Accessor>=0.18:../../devel/p5-Class-Accessor
+DEPENDS+= p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
+DEPENDS+= p5-Class-Trigger>=0.07:../../devel/p5-Class-Trigger
+DEPENDS+= p5-File-Temp>=0.12:../../devel/p5-File-Temp
+DEPENDS+= p5-Storable>=2.04:../../devel/p5-Storable
+DEPENDS+= p5-Ima-DBI>=0.33:../../databases/p5-Ima-DBI
+DEPENDS+= p5-UNIVERSAL-moniker>=0.06:../../devel/p5-UNIVERSAL-moniker
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/DBI/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-Class-DBI/PLIST b/databases/p5-Class-DBI/PLIST
new file mode 100644
index 00000000000..d02e5e297a8
--- /dev/null
+++ b/databases/p5-Class-DBI/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/06 19:06:08 he Exp $
diff --git a/databases/p5-Class-DBI/distinfo b/databases/p5-Class-DBI/distinfo
new file mode 100644
index 00000000000..9475d622af0
--- /dev/null
+++ b/databases/p5-Class-DBI/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/06 19:06:08 he Exp $
+
+SHA1 (Class-DBI-0.96.tar.gz) = 27e70513a79f36c0e6627ab39e8604bb64faf4f0
+Size (Class-DBI-0.96.tar.gz) = 70279 bytes