aboutsummaryrefslogtreecommitdiffstats
path: root/math/p5-Math-Calc-Units/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Math-Calc-Units/Makefile')
-rw-r--r--math/p5-Math-Calc-Units/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/math/p5-Math-Calc-Units/Makefile b/math/p5-Math-Calc-Units/Makefile
index 60622e06b3b..291900e5c8a 100644
--- a/math/p5-Math-Calc-Units/Makefile
+++ b/math/p5-Math-Calc-Units/Makefile
@@ -6,17 +6,23 @@
#
PORTNAME= Math-Calc-Units
-PORTVERSION= 1.02
+PORTVERSION= 1.04
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Human-readable unit-aware calculator
PERL_CONFIGURE= yes
MAN3= Math::Calc::Units.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>