aboutsummaryrefslogtreecommitdiff
path: root/graphics/R-cran-viridis
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2017-05-08 09:07:23 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2017-05-08 09:07:23 +0000
commit485d7650fc172814ce1cc8d9b0896a228f0ed605 (patch)
tree01422486c5625f9a2add12dbd370d6a3a17a58f9 /graphics/R-cran-viridis
parent7965679b1b310c7cf6c28a0bbe377b6a50c3c3d6 (diff)
downloadports-485d7650fc172814ce1cc8d9b0896a228f0ed605.tar.gz
ports-485d7650fc172814ce1cc8d9b0896a228f0ed605.zip
- Add new port: graphics/R-cran-viridis
Port of the new 'matplotlib' color maps ('viridis' - the default -, 'magma', 'plasma' and 'inferno') to 'R'. 'matplotlib' <http://matplotlib.org/> is a popular plotting library for 'python'. These color maps are designed in such a way that they will analytically be perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. They are also designed to be perceived by readers with the most common form of color blindness. WWW: https://cran.r-project.org/web/packages/viridis/
Notes
Notes: svn path=/head/; revision=440402
Diffstat (limited to 'graphics/R-cran-viridis')
-rw-r--r--graphics/R-cran-viridis/Makefile22
-rw-r--r--graphics/R-cran-viridis/distinfo3
-rw-r--r--graphics/R-cran-viridis/pkg-descr9
3 files changed, 34 insertions, 0 deletions
diff --git a/graphics/R-cran-viridis/Makefile b/graphics/R-cran-viridis/Makefile
new file mode 100644
index 000000000000..8c628ffc6c22
--- /dev/null
+++ b/graphics/R-cran-viridis/Makefile
@@ -0,0 +1,22 @@
+# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= viridis
+PORTVERSION= 0.4.0
+CATEGORIES= graphics
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Default Color Maps from 'matplotlib'
+
+LICENSE= MIT
+
+CRAN_DEPENDS= R-cran-viridisLite>=0.2.0:graphics/R-cran-viridisLite \
+ R-cran-ggplot2>=1.0.1:graphics/R-cran-ggplot2 \
+ R-cran-gridExtra>0:graphics/R-cran-gridExtra
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-viridis/distinfo b/graphics/R-cran-viridis/distinfo
new file mode 100644
index 000000000000..be9ea59176ff
--- /dev/null
+++ b/graphics/R-cran-viridis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494193855
+SHA256 (viridis_0.4.0.tar.gz) = 93d2ded68ed7cec5633c260dbc47051416147aae074f29ebe135cc329250b00e
+SIZE (viridis_0.4.0.tar.gz) = 1787731
diff --git a/graphics/R-cran-viridis/pkg-descr b/graphics/R-cran-viridis/pkg-descr
new file mode 100644
index 000000000000..6ee50dc525a1
--- /dev/null
+++ b/graphics/R-cran-viridis/pkg-descr
@@ -0,0 +1,9 @@
+Port of the new 'matplotlib' color maps ('viridis' - the default -,
+'magma', 'plasma' and 'inferno') to 'R'. 'matplotlib'
+<http://matplotlib.org/> is a popular plotting library for 'python'.
+These color maps are designed in such a way that they will analytically
+be perfectly perceptually-uniform, both in regular form and also
+when converted to black-and-white. They are also designed to be
+perceived by readers with the most common form of color blindness.
+
+WWW: https://cran.r-project.org/web/packages/viridis/