# New ports collection makefile for:	p5-Petal-CodePerl
# Date created:				26 May 2006
# Whom:					Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD: ports/textproc/p5-Petal-CodePerl/Makefile,v 1.1 2006/05/26 18:16:31 aaron Exp $
#

PORTNAME=	Petal-CodePerl
PORTVERSION=	0.06
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	../../authors/id/F/FD/FDALY
PKGNAMEPREFIX=	p5-

MAINTAINER=	aaron@FreeBSD.org
COMMENT=	Make Petal go faster by compiling the expressions

BUILD_DEPENDS=	${SITE_PERL}/Petal.pm:${PORTSDIR}/textproc/p5-Petal \
		${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
		${SITE_PERL}/Code/Perl.pm:${PORTSDIR}/devel/p5-Code-Perl
RUN_DEPENDS=	${BUILD_DEPENDS}

MAN3=	Petal::CodePerl.3 Petal::CodePerl::Expr.3 \
	Petal::CodePerl::Modifiers.3

PERL_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=	requires at least Perl 5.6 due to dependencies.  Please install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>
