summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2016-04-29 06:56:37 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2016-04-29 06:56:37 +0000
commitd69db65a06caf581eef1539f4a8ccb85c0fbbb48 (patch)
tree456de7575d23ba1c4038d33e1baad1fefa867f51
parent5ea4494a21d62c2ac043ab969a0cf1c92242e672 (diff)
downloadfreebsd-ports-d69db65a06caf581eef1539f4a8ccb85c0fbbb48.zip
- Add new port: math/R-cran-gmp
Multiple Precision Arithmetic (big integers and rationals, prime number tests, matrix computation), "arithmetic without limitations" using the C library GMP (GNU Multiple Precision Arithmetic). WWW: https://cran.r-project.org/web/packages/gmp/
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-gmp/Makefile18
-rw-r--r--math/R-cran-gmp/distinfo2
-rw-r--r--math/R-cran-gmp/pkg-descr5
4 files changed, 26 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 21e53dc8172c..bc3bfeb26d17 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -34,6 +34,7 @@
SUBDIR += R-cran-forecast
SUBDIR += R-cran-fracdiff
SUBDIR += R-cran-geepack
+ SUBDIR += R-cran-gmp
SUBDIR += R-cran-gpclib
SUBDIR += R-cran-gss
SUBDIR += R-cran-gtable
diff --git a/math/R-cran-gmp/Makefile b/math/R-cran-gmp/Makefile
new file mode 100644
index 000000000000..4a88d255b938
--- /dev/null
+++ b/math/R-cran-gmp/Makefile
@@ -0,0 +1,18 @@
+# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= gmp
+DISTVERSION= 0.5-12
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Multiple Precision Arithmetic
+
+LICENSE= GPLv2+
+
+LIB_DEPENDS= libgmp.so:math/gmp
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-gmp/distinfo b/math/R-cran-gmp/distinfo
new file mode 100644
index 000000000000..debe7697b090
--- /dev/null
+++ b/math/R-cran-gmp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gmp_0.5-12.tar.gz) = aa4e6b0d0d64edfff166b7417e7c2782a1337905d667258d44ca881229dbd781
+SIZE (gmp_0.5-12.tar.gz) = 130077
diff --git a/math/R-cran-gmp/pkg-descr b/math/R-cran-gmp/pkg-descr
new file mode 100644
index 000000000000..b6afa25f11ab
--- /dev/null
+++ b/math/R-cran-gmp/pkg-descr
@@ -0,0 +1,5 @@
+Multiple Precision Arithmetic (big integers and rationals, prime
+number tests, matrix computation), "arithmetic without limitations"
+using the C library GMP (GNU Multiple Precision Arithmetic).
+
+WWW: https://cran.r-project.org/web/packages/gmp/