summaryrefslogtreecommitdiff
path: root/math/p5-Math-RPN/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Math-RPN/Makefile')
-rw-r--r--math/p5-Math-RPN/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/math/p5-Math-RPN/Makefile b/math/p5-Math-RPN/Makefile
index 3ab2d06ebf23..8806d7232dfa 100644
--- a/math/p5-Math-RPN/Makefile
+++ b/math/p5-Math-RPN/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Math-RPN
PORTVERSION= 1.09
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,12 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Reverse polish math expression evaluation
-RUN_DEPENDS= ${SITE_PERL}/Test/Warn.pm:${PORTSDIR}/devel/p5-Test-Warn \
- p5-ExtUtils-MakeMaker>=6.52:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
-BUILD_DEPENDS= ${RUN_DEPENDS}
+TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
PERL_CONFIGURE= yes
MAN3= Math::RPN.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.50:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>