2005-05-03 13:05:45 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2005/05/03 17:05:45 msf Exp $
|
2004-01-17 10:58:06 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2001-05-05 19:24:50 -04:00
|
|
|
|
|
|
|
COMMENT= "access to PostgreSQL databases through the DBI"
|
2001-04-23 08:38:17 -04:00
|
|
|
|
2005-05-03 13:05:45 -04:00
|
|
|
VERSION= 1.41
|
2001-09-07 18:20:32 -04:00
|
|
|
DISTNAME= DBD-Pg-${VERSION}
|
|
|
|
PKGNAME= p5-${DISTNAME}
|
1998-03-24 13:39:37 -05:00
|
|
|
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
|
|
|
|
2004-07-26 06:13:28 -04:00
|
|
|
LIB_DEPENDS= pq.2:postgresql-client-*:databases/postgresql
|
2004-06-26 03:35:05 -04:00
|
|
|
RUN_DEPENDS= ::databases/p5-DBI
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2004-04-13 10:03:44 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
2005-05-03 13:05:45 -04:00
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
1998-03-24 13:39:37 -05:00
|
|
|
|
2000-03-14 00:08:47 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-02-22 20:18:20 -05:00
|
|
|
CONFIGURE_ENV+= POSTGRES_HOME="${LOCALBASE}" \
|
2001-06-23 18:04:18 -04:00
|
|
|
POSTGRES_LIB="${LOCALBASE}/lib" \
|
2001-04-23 08:38:17 -04:00
|
|
|
POSTGRES_INCLUDE="${LOCALBASE}/include/postgresql"
|
1998-03-24 13:39:37 -05:00
|
|
|
|
2000-08-20 23:26:06 -04:00
|
|
|
CONFIGURE_STYLE= perl
|
1998-03-24 13:39:37 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|