openbsd-ports/databases/p5-DBD-Pg/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

37 lines
825 B
Makefile

# $OpenBSD: Makefile,v 1.58 2010/11/15 00:22:52 espie Exp $
SHARED_ONLY= Yes
COMMENT= access to PostgreSQL databases through the DBI
MODULES= cpan
DISTNAME= DBD-Pg-2.17.1
REVISION= 0
CATEGORIES= databases
USE_GROFF = Yes
LIB_DEPENDS= databases/postgresql
RUN_DEPENDS= databases/p5-DBI
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>