summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-DB2
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-DB2')
-rw-r--r--databases/p5-DBD-DB2/DESCR2
-rw-r--r--databases/p5-DBD-DB2/Makefile30
-rw-r--r--databases/p5-DBD-DB2/distinfo5
3 files changed, 37 insertions, 0 deletions
diff --git a/databases/p5-DBD-DB2/DESCR b/databases/p5-DBD-DB2/DESCR
new file mode 100644
index 00000000000..962f3aacc0d
--- /dev/null
+++ b/databases/p5-DBD-DB2/DESCR
@@ -0,0 +1,2 @@
+DBD::DB2 is a Perl5 module which when used in conjunction with DBI allows
+Perl5 to communicate with IBM's DB2 Universal Database.
diff --git a/databases/p5-DBD-DB2/Makefile b/databases/p5-DBD-DB2/Makefile
new file mode 100644
index 00000000000..a04b617f757
--- /dev/null
+++ b/databases/p5-DBD-DB2/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/04/09 08:08:34 sno Exp $
+
+DISTNAME= DBD-DB2-1.78
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/DBD-DB2/
+COMMENT= Perl DBI/DBD driver for DB2 databases
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/DBD/DB2/.packlist
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !defined(DB2_HOME)
+PKG_FAIL_REASON+= "You must set DB2_HOME to the location of your DB2 installation"
+.elif !exists(${DB2_HOME})
+PKG_FAIL_REASON+= "The location of DB2_HOME does not exist"
+.endif
+
+BUILDLINK_PASSTHRU_DIRS+= ${DB2_HOME}
+
+.include "../../databases/p5-DBI/buildlink3.mk"
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBD-DB2/distinfo b/databases/p5-DBD-DB2/distinfo
new file mode 100644
index 00000000000..ed959cdb89b
--- /dev/null
+++ b/databases/p5-DBD-DB2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/04/09 08:08:34 sno Exp $
+
+SHA1 (DBD-DB2-1.78.tar.gz) = 4d99b7436f3aea7c2437ef7f423300ded209215b
+RMD160 (DBD-DB2-1.78.tar.gz) = 23ee57b64d54da836f1afef1b8da9aab3519486e
+Size (DBD-DB2-1.78.tar.gz) = 131380 bytes