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

29 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.26 2001/06/23 22:04:18 peter Exp $
COMMENT= "access to PostgreSQL databases through the DBI"
DISTNAME= DBD-Pg-1.00
PKGNAME= p5-DBD-Pg-1.00
CATEGORIES= databases perl5
NEED_VERSION= 1.407
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
LIB_DEPENDS= pq.2::databases/postgresql
BUILD_DEPENDS= ${LOCALBASE}/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/DBI.pm::databases/p5-DBI
MAINTAINER= Peter Galbavy <peter.galbavy@knowledge.com>
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>