ee36d6b418
ok jasper@
34 lines
829 B
Makefile
34 lines
829 B
Makefile
# $OpenBSD: Makefile,v 1.54 2010/04/28 18:06:57 pea Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= access to PostgreSQL databases through the DBI
|
|
|
|
MODULES= cpan
|
|
DISTNAME= DBD-Pg-2.17.1
|
|
CATEGORIES= databases
|
|
|
|
LIB_DEPENDS= pq.>=2:postgresql-client-*:databases/postgresql
|
|
RUN_DEPENDS= ::databases/p5-DBI
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
REGRESS_DEPENDS=:postgresql-server-*:databases/postgresql,-server \
|
|
::devel/p5-Test-Warn
|
|
|
|
REGRESS_FLAGS= DBI_DSN="dbi:Pg:dbname=template1" DBI_USER="_postgresql" \
|
|
DBI_PASS=""
|
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= m
|
|
|
|
CONFIGURE_ENV+= POSTGRES_HOME="${LOCALBASE}" \
|
|
POSTGRES_LIB="${LOCALBASE}/lib" \
|
|
POSTGRES_INCLUDE="${LOCALBASE}/include/postgresql"
|
|
|
|
.include <bsd.port.mk>
|