diff --git a/devel/p5-B-Hooks-Parser/Makefile b/devel/p5-B-Hooks-Parser/Makefile index ebc936394942..203cacfe0140 100644 --- a/devel/p5-B-Hooks-Parser/Makefile +++ b/devel/p5-B-Hooks-Parser/Makefile @@ -7,23 +7,30 @@ PORTNAME= B-Hooks-Parser PORTVERSION= 0.09 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= B PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Interface to perls parser variables -BUILD_DEPENDS= p5-B-Hooks-OP-Check>0:${PORTSDIR}/devel/p5-B-Hooks-OP-Check:patch \ - p5-B-Hooks-EndOfScope>=0.05:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope \ +BUILD_DEPENDS= p5-B-Hooks-OP-Check>0:${PORTSDIR}/devel/p5-B-Hooks-OP-Check \ p5-ExtUtils-Depends>0:${PORTSDIR}/devel/p5-ExtUtils-Depends -RUN_DEPENDS= p5-B-Hooks-OP-Check>0:${PORTSDIR}/devel/p5-B-Hooks-OP-Check \ - p5-parent>:${PORTSDIR}/devel/p5-parent -TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception +RUN_DEPENDS= p5-B-Hooks-OP-Check>0:${PORTSDIR}/devel/p5-B-Hooks-OP-Check + +TEST_DEPENDS= p5-B-Hooks-EndOfScope>=0.05:${PORTSDIR}/devel/p5-B-Hooks-EndOfScope \ + p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception PERL_CONFIGURE= yes MAN3= B::Hooks::Parser.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include