From 191cd95bd7c2e20ca2181d3a32e245d97b0a9b41 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 15 Apr 2004 10:48:43 +0000 Subject: 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. --- databases/p5-DBD-Oracle/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 databases/p5-DBD-Oracle/Makefile (limited to 'databases/p5-DBD-Oracle/Makefile') 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" -- cgit v1.2.3