summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-03 23:40:09 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-03 23:40:09 +0000
commit5163c29eab7192fd731450c2ed5b919c3962cafc (patch)
treee609d741d579443ade1a825a31e25c8699812260 /math
parentAdd p5-Math-Financial 0.76, perl module containing common functions for (diff)
Add p5-Math-FixedPrecision 0.11, perl module that provides decimal math
without floating point errors.
Notes
Notes: svn path=/head/; revision=36723
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-FixedPrecision/Makefile29
-rw-r--r--math/p5-Math-FixedPrecision/distinfo1
-rw-r--r--math/p5-Math-FixedPrecision/pkg-comment1
-rw-r--r--math/p5-Math-FixedPrecision/pkg-descr11
-rw-r--r--math/p5-Math-FixedPrecision/pkg-plist3
6 files changed, 46 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 7dfb445e9a7d..1655fa2df4a7 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -53,6 +53,7 @@
SUBDIR += p5-Math-Currency
SUBDIR += p5-Math-Expr
SUBDIR += p5-Math-Financial
+ SUBDIR += p5-Math-FixedPrecision
SUBDIR += p5-Math-Logic
SUBDIR += p5-MatrixReal
SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-Math-FixedPrecision/Makefile b/math/p5-Math-FixedPrecision/Makefile
new file mode 100644
index 000000000000..4b0289fdd5bf
--- /dev/null
+++ b/math/p5-Math-FixedPrecision/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Math-FixedPrecision
+# Date created: Wed Jan 3 11:03:30 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-FixedPrecision
+PORTVERSION= 0.11
+CATEGORIES= math perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Math
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500007
+BROKEN= "Needs Perl 5.6.0 for Math::BigFloat"
+.endif
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Math::FixedPrecision.3
+
+.include <bsd.port.post.mk>
diff --git a/math/p5-Math-FixedPrecision/distinfo b/math/p5-Math-FixedPrecision/distinfo
new file mode 100644
index 000000000000..4735679ea081
--- /dev/null
+++ b/math/p5-Math-FixedPrecision/distinfo
@@ -0,0 +1 @@
+MD5 (Math-FixedPrecision-0.11.tar.gz) = 407ac95d46d5fc6e3b8ef3d8fef5b088
diff --git a/math/p5-Math-FixedPrecision/pkg-comment b/math/p5-Math-FixedPrecision/pkg-comment
new file mode 100644
index 000000000000..00cce112a655
--- /dev/null
+++ b/math/p5-Math-FixedPrecision/pkg-comment
@@ -0,0 +1 @@
+Perl module that provides decimal math without floating point errors
diff --git a/math/p5-Math-FixedPrecision/pkg-descr b/math/p5-Math-FixedPrecision/pkg-descr
new file mode 100644
index 000000000000..44edcc71c15b
--- /dev/null
+++ b/math/p5-Math-FixedPrecision/pkg-descr
@@ -0,0 +1,11 @@
+Math::FixedPrecision provides a way to do decimal math without floating
+point errors.
+
+WARNING: In order for all tests to complete successfully, you must replace
+the stock BigFloat.pm with the one located in this distribution. This file
+will also be updated as part of the 5.6.1 distribution, when that is released.
+Please copy the included BigFloat.pm to {PERLVERSION}/lib/Math/BigFloat.pm.
+
+Author: John Peacock <jpeacock@rowman.com>
+
+--will
diff --git a/math/p5-Math-FixedPrecision/pkg-plist b/math/p5-Math-FixedPrecision/pkg-plist
new file mode 100644
index 000000000000..b97ec245d478
--- /dev/null
+++ b/math/p5-Math-FixedPrecision/pkg-plist
@@ -0,0 +1,3 @@
+lib/perl5/site_perl/%%PERL_VER%%/Math/FixedPrecision.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/FixedPrecision/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/FixedPrecision