# $NetBSD: Makefile,v 1.53 2009/08/16 16:04:38 wiz Exp $ # VER= 2.15.1 DISTNAME= DBD-Pg-${VER} PKGNAME= p5-DBD-postgresql-${VER} SVR4_PKGNAME= p5dpo CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://search.cpan.org/dist/DBD-Pg/ COMMENT= Perl DBI/DBD driver for PostgreSQL databases LICENSE= artistic-2.0 PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= {p5-version-[0-9]*,perl>=5.10.0}:../../devel/p5-version DEPENDS+= p5-DBI>1.52:../../databases/p5-DBI PKG_INSTALLATION_TYPES= overwrite pkgviews PERL5_PACKLIST= auto/DBD/Pg/.packlist POSTGRES_INCLUDE= ${PGSQL_PREFIX}/include/postgresql POSTGRES_LIB= ${PGSQL_PREFIX}/lib MAKE_ENV+= POSTGRES_INCLUDE=${POSTGRES_INCLUDE:Q} MAKE_ENV+= POSTGRES_LIB=${POSTGRES_LIB:Q} .include "../../databases/p5-DBI/buildlink3.mk" .include "../../lang/perl5/module.mk" .include "../../mk/pgsql.buildlink3.mk" .include "../../mk/bsd.pkg.mk"