summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Oracle/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2004-04-15 10:48:43 +0000
committergrant <grant>2004-04-15 10:48:43 +0000
commit191cd95bd7c2e20ca2181d3a32e245d97b0a9b41 (patch)
tree61fc53110eb3a4680b6b48d8bbef2a327e0c6166 /databases/p5-DBD-Oracle/Makefile
parentd8d96bd34e1ec3526fb4dbb50b49fdab1075f666 (diff)
downloadpkgsrc-191cd95bd7c2e20ca2181d3a32e245d97b0a9b41.tar.gz
Initial import of p5-DBD-Oracle 1.14 into the NetBSD packages collection.
DBD::Oracle is a Perl module which works with the DBI module to provide access to Oracle databases.
Diffstat (limited to 'databases/p5-DBD-Oracle/Makefile')
-rw-r--r--databases/p5-DBD-Oracle/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile
new file mode 100644
index 00000000000..c4e2e6fe321
--- /dev/null
+++ b/databases/p5-DBD-Oracle/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/15 10:48:43 grant Exp $
+
+DISTNAME= DBD-Oracle-1.14
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+COMMENT= Perl DBI/DBD driver for Oracle databases
+
+USE_BUILDLINK3= yes
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Oracle/.packlist
+
+.if !defined(ORACLE_HOME)
+PKG_FAIL_REASON+= "You must set ORACLE_HOME to the location of your Oracle installation"
+.elif !exists(${ORACLE_HOME})
+PKG_FAIL_REASON+= "The location of ORACLE_HOME does not exist"
+.endif
+
+BUILDLINK_PASSTHRU_DIRS+= ${ORACLE_HOME}
+
+.include "../../databases/p5-DBI/buildlink3.mk"
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"