summaryrefslogtreecommitdiff
path: root/databases/p5-Ima-DBI/Makefile
diff options
context:
space:
mode:
authorhe <he>2004-11-06 01:29:50 +0000
committerhe <he>2004-11-06 01:29:50 +0000
commit16eae0a40d8054227fce0c5eab4280a4e9c10b45 (patch)
tree1650d7192e8d6961ac1c4b9119e86d6ca2131a4a /databases/p5-Ima-DBI/Makefile
parentb163b5c29be3351a833b91457e25c34feba3b848 (diff)
downloadpkgsrc-16eae0a40d8054227fce0c5eab4280a4e9c10b45.tar.gz
Import p5-Ima-DBI 0.33. From the module's documentation:
Ima::DBI attempts to organize and facilitate caching and more efficient use of database connections and statement handles. One of the things I always found annoying about writing large programs with DBI was making sure that I didn't have duplicate database handles open. I was also annoyed by the somewhat wasteful nature of the prepare/execute/finish route I'd tend to go through in my subroutines. The new DBI->connect_cached and DBI->prepare_cached helped alot, but I still had to throw around global datasource, username and password information. So, after a while I grew a small library of DBI helper routines and techniques. Ima::DBI is the culmination of all this, put into a nice(?), clean(?) class to be inherited from.
Diffstat (limited to 'databases/p5-Ima-DBI/Makefile')
-rw-r--r--databases/p5-Ima-DBI/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/p5-Ima-DBI/Makefile b/databases/p5-Ima-DBI/Makefile
new file mode 100644
index 00000000000..dedae102cd1
--- /dev/null
+++ b/databases/p5-Ima-DBI/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/06 01:29:50 he Exp $
+#
+
+DISTNAME= Ima-DBI-0.33
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5idi
+CATEGORIES= perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/T/TM/TMTM/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~tmtm/Ima-DBI-0.33/
+COMMENT= Perl5 module for DB connection caching and organization
+
+DEPENDS+= p5-DBI>=1.20:../../databases/p5-DBI
+DEPENDS+= p5-Class-WhiteHole>=0.03:../../devel/p5-Class-WhiteHole
+DEPENDS+= p5-Class-Data-Inheritable>=0.02:../../devel/p5-Class-Data-Inheritable
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Ima/DBI/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"