aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-Math-MPFR/Makefile24
-rw-r--r--math/p5-Math-MPFR/distinfo3
-rw-r--r--math/p5-Math-MPFR/pkg-descr7
-rw-r--r--math/p5-Math-MPFR/pkg-plist7
5 files changed, 42 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index c7fc07c545a0..1f997952122f 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -306,6 +306,7 @@
SUBDIR += p5-Math-Intersection-StraightLine
SUBDIR += p5-Math-LinearCombination
SUBDIR += p5-Math-Logic
+ SUBDIR += p5-Math-MPFR
SUBDIR += p5-Math-Matrix
SUBDIR += p5-Math-NumberCruncher
SUBDIR += p5-Math-Pari
diff --git a/math/p5-Math-MPFR/Makefile b/math/p5-Math-MPFR/Makefile
new file mode 100644
index 000000000000..ef85b234273a
--- /dev/null
+++ b/math/p5-Math-MPFR/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: Math-MPFR
+# Date created: 31 Jan 2009
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Math-MPFR
+PORTVERSION= 2.03
+CATEGORIES= math perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= A perl interface to MPFR Library
+
+LIB_DEPENDS= mpfr.3:${PORTSDIR}/math/mpfr
+
+PERL_CONFIGURE= yes
+MAKE_ENV= INC="-I${LOCALBASE}/include"
+
+MAN3= Math::MPFR.3
+
+.include <bsd.port.mk>
diff --git a/math/p5-Math-MPFR/distinfo b/math/p5-Math-MPFR/distinfo
new file mode 100644
index 000000000000..cafd6455bd78
--- /dev/null
+++ b/math/p5-Math-MPFR/distinfo
@@ -0,0 +1,3 @@
+MD5 (Math-MPFR-2.03.tar.gz) = cb60bb01ff0ee3155a411cd6c2119843
+SHA256 (Math-MPFR-2.03.tar.gz) = eb2ec99863aab351db4c4658cd32d808f54cee938cb2c5aef90485cffc33270e
+SIZE (Math-MPFR-2.03.tar.gz) = 64224
diff --git a/math/p5-Math-MPFR/pkg-descr b/math/p5-Math-MPFR/pkg-descr
new file mode 100644
index 000000000000..2ce57e933d86
--- /dev/null
+++ b/math/p5-Math-MPFR/pkg-descr
@@ -0,0 +1,7 @@
+p5-Math-MPFR is a module wraps the MPFR library functions.
+
+The MPFR library is a C library for multiple-precision floating-point
+computations with exact rounding (also called correct rounding). It
+is based on the GMP multiple-precision C library.
+
+WWW: http://search.cpan.org/dist/Math-MPFR
diff --git a/math/p5-Math-MPFR/pkg-plist b/math/p5-Math-MPFR/pkg-plist
new file mode 100644
index 000000000000..7b309c4a5658
--- /dev/null
+++ b/math/p5-Math-MPFR/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/mach/Math/MPFR.pm
+%%SITE_PERL%%/mach/auto/Math/MPFR/.packlist
+%%SITE_PERL%%/mach/auto/Math/MPFR/MPFR.bs
+%%SITE_PERL%%/mach/auto/Math/MPFR/MPFR.so
+@dirrm %%SITE_PERL%%/mach/Math
+@dirrm %%SITE_PERL%%/mach/auto/Math/MPFR
+@dirrmtry %%SITE_PERL%%/mach/auto/Math