summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-postgresql/Makefile
blob: e8c85dc04f1bae0b4f8b93b4f5ddbb0f8e26d501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.3 2000/05/20 19:52:50 jlam Exp $
#

DISTNAME=	DBD-Pg-0.93
PKGNAME=	p5-DBD-postgresql-0.93
CATEGORIES=	databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=DBD/}

MAINTAINER=	jwise@netbsd.org
HOMEPAGE=	http://www.postgresql.org/

DEPENDS+=	postgresql>=6.5.3:../../databases/postgresql
DEPENDS+=	p5-DBI-1.08:../../databases/p5-DBI

USE_PERL5=	YES

PGUSER?=                pgsql
PGPREFIX=               ${PREFIX}/${PGUSER}

CONFIGURE_ENV+=		POSTGRES_INCLUDE=${PREFIX}/include/pgsql
CONFIGURE_ENV+=		POSTGRES_LIB=${PREFIX}/lib

do-configure:
	@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${LOCALBASE}/bin/perl Makefile.PL

.include "../../mk/bsd.pkg.mk"