# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD: tags/RELEASE_10_3_0/lang/p5-Parse-Perl/Makefile 388857 2015-06-08 19:16:19Z mat $

PORTNAME=	Parse-Perl
PORTVERSION=	0.007
PORTREVISION=	1
CATEGORIES=	lang perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Interpret string as Perl source

BUILD_DEPENDS=	p5-Devel-CallChecker>=0.003:${PORTSDIR}/devel/p5-Devel-CallChecker
RUN_DEPENDS:=	${BUILD_DEPENDS}
TEST_DEPENDS=	p5-Devel-Declare>=0:${PORTSDIR}/devel/p5-Devel-Declare \
		p5-Lexical-Import>=0:${PORTSDIR}/devel/p5-Lexical-Import \
		p5-Sub-Identify>=0:${PORTSDIR}/devel/p5-Sub-Identify

USES=		perl5
USE_PERL5=	modbuild

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} >= 502200
BROKEN=		Fails to build with Perl >= 5.22
.endif

.include <bsd.port.post.mk>
