blob: e32fdc196441f7ae66f2b5258a3226dcec67e9bb (
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
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.19 2002/09/20 01:45:27 grant Exp $
#
VER= 1.13
DISTNAME= DBD-Pg-${VER}
PKGNAME= p5-DBD-postgresql-${VER}
PKGREVISION= 2
SVR4_PKGNAME= p5dpo
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/JBAKER/}
MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://www.postgresql.org/
COMMENT= perl DBI/DBD driver for PostgreSQL databases
USE_BUILDLINK2= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
PGUSER?= pgsql
PGPREFIX= ${PREFIX}/${PGUSER}
MAKE_ENV+= POSTGRES_INCLUDE=${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql
MAKE_ENV+= POSTGRES_LIB=${BUILDLINK_PREFIX.postgresql-lib}/lib
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../databases/p5-DBI/buildlink2.mk"
.include "../../databases/postgresql-lib/buildlink2.mk"
.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|