openbsd-ports/databases/p5-DBD-Pg/Makefile

32 lines
816 B
Makefile
Raw Normal View History

2007-01-14 05:53:46 -05:00
# $OpenBSD: Makefile,v 1.40 2007/01/14 10:53:46 espie Exp $
2007-01-14 05:53:46 -05:00
SHARED_ONLY= Yes
COMMENT= "access to PostgreSQL databases through the DBI"
2007-01-14 05:53:46 -05:00
MODULES= cpan
VERSION= 1.47
2001-09-07 18:20:32 -04:00
DISTNAME= DBD-Pg-${VERSION}
2007-01-14 05:53:46 -05:00
CATEGORIES= databases
2000-08-20 23:26:06 -04:00
2006-08-01 18:19:46 -04:00
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=""
1998-10-08 00:31:46 -04:00
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
2000-03-14 00:08:47 -05:00
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"
.include <bsd.port.mk>