openbsd-ports/databases/p5-DBD-Pg/Makefile
pea ebd4d1f72d Update to 2.18.0
From wen heping, thanks

ok ajacoutot@
2011-05-09 13:59:50 +00:00

35 lines
801 B
Makefile

# $OpenBSD: Makefile,v 1.61 2011/05/09 13:59:50 pea Exp $
SHARED_ONLY= Yes
COMMENT= access to PostgreSQL databases through the DBI
MODULES= cpan
DISTNAME= DBD-Pg-2.18.0
CATEGORIES= databases
LIB_DEPENDS= databases/postgresql
RUN_DEPENDS= databases/p5-DBI>=1.52
BUILD_DEPENDS= ${RUN_DEPENDS}
REGRESS_DEPENDS=databases/postgresql,-server \
devel/p5-Test-Warn
WANTLIB += pq>=2
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>