openbsd-ports/databases/p5-DBD-Pg/Makefile
bernd 2437b9fd7b - Update to p5-DBD-Pg-1.47.
- Remove regress FLAVOR and use REGRESS_FLAGS instead.
- Add postgresql-server to REGRESS_DEPENDS.

ok steven@, msf@
2006-04-05 09:03:52 +00:00

35 lines
915 B
Makefile

# $OpenBSD: Makefile,v 1.38 2006/04/05 09:03:52 bernd Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "access to PostgreSQL databases through the DBI"
VERSION= 1.47
DISTNAME= DBD-Pg-${VERSION}
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
LIB_DEPENDS= pq.2:postgresql-client-*:databases/postgresql
RUN_DEPENDS= ::databases/p5-DBI
BUILD_DEPENDS= ${RUN_DEPENDS}
REGRESS_DEPENDS=:postgresql-server-*:databases/postgresql,-server
REGRESS_FLAGS+= DBI_DSN="dbi:Pg:dbname=template1" DBI_USER="_postgresql" \
DBI_PASS=""
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_ENV+= POSTGRES_HOME="${LOCALBASE}" \
POSTGRES_LIB="${LOCALBASE}/lib" \
POSTGRES_INCLUDE="${LOCALBASE}/include/postgresql"
CONFIGURE_STYLE= perl
.include <bsd.port.mk>