aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2016-12-17 14:52:40 +0800
committertota <tota@FreeBSD.org>2016-12-17 14:52:40 +0800
commite00489b579af58f5143b4058a765e2683ed546fb (patch)
treee2303335bb4469ea1bf03996d7bc0160b0624567 /math
parent363f0ab3690929e1fb37900bfd67efa91d3f7e6e (diff)
downloadfreebsd-ports-gnome-e00489b579af58f5143b4058a765e2683ed546fb.tar.gz
freebsd-ports-gnome-e00489b579af58f5143b4058a765e2683ed546fb.tar.zst
freebsd-ports-gnome-e00489b579af58f5143b4058a765e2683ed546fb.zip
- Add new port: math/R-cran-backports
Implementations of functions which have been introduced in R since version 3.0.0. The backports are conditionally exported which results in R resolving the function names to the version shipped with R (if available) and uses the implemented backports as fallback. This way package developers can make use of the new functions without worrying about the minimum required R version. WWW: https://cran.r-project.org/web/packages/backports/
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-backports/Makefile16
-rw-r--r--math/R-cran-backports/distinfo3
-rw-r--r--math/R-cran-backports/pkg-descr8
4 files changed, 28 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index cb511530fc49..df6fd0a12c7a 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -26,6 +26,7 @@
SUBDIR += R-cran-VGAM
SUBDIR += R-cran-Zelig
SUBDIR += R-cran-assertthat
+ SUBDIR += R-cran-backports
SUBDIR += R-cran-bdsmatrix
SUBDIR += R-cran-car
SUBDIR += R-cran-coda
diff --git a/math/R-cran-backports/Makefile b/math/R-cran-backports/Makefile
new file mode 100644
index 000000000000..db22981f04d6
--- /dev/null
+++ b/math/R-cran-backports/Makefile
@@ -0,0 +1,16 @@
+# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= backports
+PORTVERSION= 1.0.4
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Reimplementations of Functions Introduced Since R-3.0.0
+
+LICENSE= GPLv2
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-backports/distinfo b/math/R-cran-backports/distinfo
new file mode 100644
index 000000000000..98579a7c1430
--- /dev/null
+++ b/math/R-cran-backports/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1481956875
+SHA256 (backports_1.0.4.tar.gz) = c2c5df9be73fd1162f9cb7fb7e807c99b758cc992fd10a2a47f76e6b73815a3b
+SIZE (backports_1.0.4.tar.gz) = 5818
diff --git a/math/R-cran-backports/pkg-descr b/math/R-cran-backports/pkg-descr
new file mode 100644
index 000000000000..d95518922f0a
--- /dev/null
+++ b/math/R-cran-backports/pkg-descr
@@ -0,0 +1,8 @@
+Implementations of functions which have been introduced in R since
+version 3.0.0. The backports are conditionally exported which results
+in R resolving the function names to the version shipped with R (if
+available) and uses the implemented backports as fallback. This way
+package developers can make use of the new functions without worrying
+about the minimum required R version.
+
+WWW: https://cran.r-project.org/web/packages/backports/