aboutsummaryrefslogtreecommitdiff
path: root/math/p5-bignum
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-bignum')
-rw-r--r--math/p5-bignum/Makefile22
-rw-r--r--math/p5-bignum/distinfo4
2 files changed, 17 insertions, 9 deletions
diff --git a/math/p5-bignum/Makefile b/math/p5-bignum/Makefile
index 5db503fea3b1..cdde16596711 100644
--- a/math/p5-bignum/Makefile
+++ b/math/p5-bignum/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= bignum
-PORTVERSION= 0.23
-PORTREVISION= 1
+PORTVERSION= 0.29
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ../by-authors/id/T/TE/TELS/math
+MASTER_SITE_SUBDIR= CPAN:FLORA
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
@@ -18,8 +17,17 @@ COMMENT= Transparent BigNumber/BigRational support for Perl
PERL_CONFIGURE= yes
-MAN3= bigint.3 \
- bignum.3 \
- bigrat.3
+MAN3= bigint.3 \
+ bignum.3 \
+ bigrat.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Math-BigInt>=1.880:${PORTSDIR}/math/p5-Math-BigInt \
+ p5-Math-BigRat>=0.21:${PORTSDIR}/math/p5-Math-BigRat
+RUN_DEPENDS+= p5-Math-BigInt>=1.880:${PORTSDIR}/math/p5-Math-BigInt \
+ p5-Math-BigRat>=0.21:${PORTSDIR}/math/p5-Math-BigRat
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-bignum/distinfo b/math/p5-bignum/distinfo
index 8cb2ad1e611a..348406ff82af 100644
--- a/math/p5-bignum/distinfo
+++ b/math/p5-bignum/distinfo
@@ -1,2 +1,2 @@
-SHA256 (bignum-0.23.tar.gz) = 6aab5db9293cd0cddb40055e70f9721ba1c64e3d0cebdca154256165f29a9566
-SIZE (bignum-0.23.tar.gz) = 31171
+SHA256 (bignum-0.29.tar.gz) = 421a55cd29e13c3605906324964a29f24a0939db4ab6e3936caaf450ca08970e
+SIZE (bignum-0.29.tar.gz) = 38070