summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2007-05-27 11:48:31 +0000
committerLars Thegler <lth@FreeBSD.org>2007-05-27 11:48:31 +0000
commit35335b80024f42fdaf89fbae15c56fe976f173ed (patch)
tree971f18cabdeb6219143ce54d7df903591d21d705
parent- Chase increase of science/netcdf shlib version. (diff)
Add p5-bignum 0.21, transparent BigNumber/BigRational support for Perl.
Notes
Notes: svn path=/head/; revision=192022
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-bignum/Makefile28
-rw-r--r--math/p5-bignum/distinfo3
-rw-r--r--math/p5-bignum/pkg-descr6
-rw-r--r--math/p5-bignum/pkg-plist10
5 files changed, 48 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 751392a480ea..f11e84215e42 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -269,6 +269,7 @@
SUBDIR += p5-Statistics-OLS
SUBDIR += p5-Statistics-Regression
SUBDIR += p5-Task-Math-Symbolic
+ SUBDIR += p5-bignum
SUBDIR += pari
SUBDIR += parmetis
SUBDIR += pecl-big_int
diff --git a/math/p5-bignum/Makefile b/math/p5-bignum/Makefile
new file mode 100644
index 000000000000..ea2f50717ca0
--- /dev/null
+++ b/math/p5-bignum/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: math/p5-bignum
+# Date created: 25 May 2007
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bignum
+PORTVERSION= 0.21
+CATEGORIES= math perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../by-authors/id/T/TE/TELS/math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Transparent BigNumber/BigRational support for Perl
+
+RUN_DEPENDS= p5-Math-BigInt>=1.83:${PORTSDIR}/math/p5-Math-BigInt \
+ p5-Math-BigRat>=0.19:${PORTSDIR}/math/p5-Math-BigRat
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= bigint.3 \
+ bignum.3 \
+ bigrat.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-bignum/distinfo b/math/p5-bignum/distinfo
new file mode 100644
index 000000000000..ebd2baa1a50b
--- /dev/null
+++ b/math/p5-bignum/distinfo
@@ -0,0 +1,3 @@
+MD5 (bignum-0.21.tar.gz) = 090532fad1dec171da009688dae3cd4e
+SHA256 (bignum-0.21.tar.gz) = b6b43bba4ea326baf13fe299b2f3aab3224dde9b773a206ba1d6c172b5f7c374
+SIZE (bignum-0.21.tar.gz) = 27397
diff --git a/math/p5-bignum/pkg-descr b/math/p5-bignum/pkg-descr
new file mode 100644
index 000000000000..0ce40a97c6fa
--- /dev/null
+++ b/math/p5-bignum/pkg-descr
@@ -0,0 +1,6 @@
+This package attempts to make it easier to write scripts that use
+BigInts/BigFloats in a transparent way. They use the rewritten
+versions of Math::BigInt and Math::BigFloat, Math::BigRat (for
+bigrat) and optionally Math::BigInt::Lite.
+
+WWW: http://search.cpan.org/dist/bignum/
diff --git a/math/p5-bignum/pkg-plist b/math/p5-bignum/pkg-plist
new file mode 100644
index 000000000000..fbdd8c3f6389
--- /dev/null
+++ b/math/p5-bignum/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/Math/BigFloat/Trace.pm
+%%SITE_PERL%%/Math/BigInt/Trace.pm
+%%SITE_PERL%%/bigint.pm
+%%SITE_PERL%%/bignum.pm
+%%SITE_PERL%%/bigrat.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/bignum/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/bignum
+@dirrmtry %%SITE_PERL%%/Math/BigFloat
+@dirrmtry %%SITE_PERL%%/Math/BigInt
+@dirrmtry %%SITE_PERL%%/Math