10b723081c
Bump PKGREVISION, because the package will gladly build and install without p5-version, it just won't actually work unless p5-version is available both at build time and at run time.
33 lines
923 B
Makefile
33 lines
923 B
Makefile
# $NetBSD: Makefile,v 1.44 2008/03/17 13:29:03 dsainty Exp $
|
|
#
|
|
|
|
VER= 2.2.2
|
|
DISTNAME= DBD-Pg-${VER}
|
|
PKGNAME= p5-DBD-postgresql-${VER}
|
|
SVR4_PKGNAME= p5dpo
|
|
PKGREVISION= 2
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://gborg.postgresql.org/project/dbdpg/projdisplay.php
|
|
COMMENT= Perl DBI/DBD driver for PostgreSQL databases
|
|
|
|
DEPENDS+= p5-version-[0-9]*:../../devel/p5-version
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
PERL5_PACKLIST= auto/DBD/Pg/.packlist
|
|
|
|
PGUSER?= pgsql
|
|
PGPREFIX= ${PREFIX}/${PGUSER}
|
|
|
|
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"
|