# $NetBSD: Makefile,v 1.4 2001/09/27 23:17:54 jlam Exp $ DISTNAME= pgsql_perl5-1.9.0 PKGNAME= p5-postgresql-1.9.0 CATEGORIES= databases devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pg/} MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.pobox.com/~gbarr/perl-ldap/ COMMENT= Perl interface class for PostgreSQL DEPENDS+= postgresql-{6.5.3*,7.0*,lib-[0-9]*}:../../databases/postgresql-lib USE_PERL5= # defined PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist # Until the source catches up to the current Perl API, we need PERL_POLLUTE # to look like an older perl. MAKE_PARAMS= DEFINE="-DPERL_POLLUTE=1" MAKE_ENV+= POSTGRES_HOME="${LOCALBASE}" do-configure: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} .include "../../mk/bsd.pkg.mk"