# New ports collection makefile for:	PostgreSQL PL/Perl 
# Date created:		January 14, 2002
# Whom:			Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD: ports/databases/p5-postgresql-plperl/Makefile,v 1.6 2003/03/07 05:58:29 ade Exp $
#

PORTNAME=	postgresql-plperl
CATEGORIES=	databases perl5
PKGNAMEPREFIX=	p5-

MAINTAINER=	girgen@pingpong.net
COMMENT=	A module for using Perl5 to write SQL functions

POSTGRESQL_PORT?=	databases/postgresql7
POSTGRESQL_SUBPORT=YES
.include "../../${POSTGRESQL_PORT}/Makefile"

RUN_DEPENDS=	postgres:${PORTSDIR}/${POSTGRESQL_PORT}

USE_PERL5=	yes
CONFIGURE_ARGS=	--with-perl

MAKE_ARGS+=	-C src/pl/plperl
MAKEFILE=	GNUmakefile

post-install:
	@ ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
