summaryrefslogtreecommitdiff
path: root/math/p5-Math-RPN
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-12 09:06:54 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-12 09:06:54 +0000
commit0bb0781790b3d96579218faecc4c9dd0d592b723 (patch)
tree11dcba9c6aa103ab2e78ba2f534de348e5978d27 /math/p5-Math-RPN
parent- Update to 0.31 (diff)
- Update *_DEPENDS: p5-ExtUtils-MakeMaker is a conditional build dependency
- Use TEST_DEPENDS - Bump PORTREVISION for dependency change Submitted by: sunpoet (myself) Approved by: kevlo (maintainer, via IRC) Feature safe: yes
Diffstat (limited to 'math/p5-Math-RPN')
-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>