From e8cca7772b4a6557ba4e9e555b0900df235dcdf3 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sun, 8 Jan 2012 10:18:15 +0000 Subject: - Remove unnecessary MASTER_SITE_SUBDIR - Update *_DEPENDS and fix typo - p5-B-Hooks-EndOfScope is a test dependency - p5-parent is already in perl >= 5.10.1 - Bump PORTREVISION for dependency change --- devel/p5-B-Hooks-Parser/Makefile | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) 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 -- cgit