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

38 lines
897 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2005/05/03 17:05:45 msf Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "access to PostgreSQL databases through the DBI"
VERSION= 1.41
2001-09-07 18:20:32 -04:00
DISTNAME= DBD-Pg-${VERSION}
PKGNAME= p5-${DISTNAME}
CATEGORIES= databases perl5
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
2000-08-20 23:26:06 -04:00
LIB_DEPENDS= pq.2:postgresql-client-*:databases/postgresql
RUN_DEPENDS= ::databases/p5-DBI
BUILD_DEPENDS= ${RUN_DEPENDS}
FLAVOR?=
FLAVORS= regress
.if ${FLAVOR:L:Mregress}
MAKE_ENV+= DBI_DSN="dbi:Pg:dbname=template1" DBI_USER="_postgresql" DBI_PASS=""
.endif
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"
2000-08-20 23:26:06 -04:00
CONFIGURE_STYLE= perl
.include <bsd.port.mk>