aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-01-08 18:18:15 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-01-08 18:18:15 +0800
commite8cca7772b4a6557ba4e9e555b0900df235dcdf3 (patch)
treebcd4205f6b27f198d995f41f50930abd58e99531
parentf910b69bfa1f03246bbd275988ed1e8c20f594a0 (diff)
downloadfreebsd-ports-gnome-e8cca7772b4a6557ba4e9e555b0900df235dcdf3.tar.gz
freebsd-ports-gnome-e8cca7772b4a6557ba4e9e555b0900df235dcdf3.tar.zst
freebsd-ports-gnome-e8cca7772b4a6557ba4e9e555b0900df235dcdf3.zip
- 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
-rw-r--r--devel/p5-B-Hooks-Parser/Makefile21
1 files 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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent
+.endif
+
+.include <bsd.port.post.mk>