openbsd-ports/databases/p5-pgsql/Makefile
2006-08-01 22:19:46 +00:00

32 lines
725 B
Makefile

# $OpenBSD: Makefile,v 1.6 2006/08/01 22:19:46 espie Exp $
SHARED_ONLY= Yes
COMMENT= "access to PostgreSQL databases perl"
VERSION= 1.9.0
DISTNAME= pgsql_perl5-${VERSION}
PKGNAME= p5-pgsql-${VERSION}
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pg/}
LIB_DEPENDS= pq.>=3:postgresql-client-*:databases/postgresql
MAINTAINER= Markus Friedl <markus@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
# needs a database properly set up
NO_REGRESS= Yes
.include <bsd.port.mk>