pkgsrc/databases/p5-DBD-DB2/Makefile
sno 4dc757adf4 Importing databases/p5-DBD-DB2 version 1.78.
DBD::DB2 is a Perl5 module which when used in conjunction with DBI allows
Perl5 to communicate with IBM's DB2 Universal Database.
2010-04-09 08:08:34 +00:00

30 lines
806 B
Makefile

# $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"