diff --git a/graphics/Makefile b/graphics/Makefile index c72b9a5b82d1..09a57ebdb57f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -9,6 +9,7 @@ SUBDIR += O2-tools SUBDIR += R-cran-DiagrammeR SUBDIR += R-cran-GDD + SUBDIR += R-cran-R.devices SUBDIR += R-cran-RColorBrewer SUBDIR += R-cran-colorspace SUBDIR += R-cran-cowplot diff --git a/graphics/R-cran-R.devices/Makefile b/graphics/R-cran-R.devices/Makefile new file mode 100644 index 000000000000..263d29ba202c --- /dev/null +++ b/graphics/R-cran-R.devices/Makefile @@ -0,0 +1,21 @@ +PORTNAME= R.devices +DISTVERSION= 2.17.2 +CATEGORIES= graphics +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= Unified Handling of Graphics Devices +WWW= https://cran.r-project.org/package=R.devices + +LICENSE= LGPL21 LGPL3 +LICENSE_COMB= multi + +RUN_DEPENDS= R-cran-base64enc>=0.1.2:converters/R-cran-base64enc \ + R-cran-R.methodsS3>=1.8.1:devel/R-cran-R.methodsS3 \ + R-cran-R.oo>=1.24.0:devel/R-cran-R.oo \ + R-cran-R.utils>=2.0.1:devel/R-cran-R.utils +TEST_DEPENDS= R-cran-digest>=0.6.13:security/R-cran-digest + +USES= cran:auto-plist + +.include diff --git a/graphics/R-cran-R.devices/distinfo b/graphics/R-cran-R.devices/distinfo new file mode 100644 index 000000000000..26ecc0c9b4a3 --- /dev/null +++ b/graphics/R-cran-R.devices/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1739727502 +SHA256 (R.devices_2.17.2.tar.gz) = 403eeaf552dd696142096973dee3460dc52c19b73fd194841dd4638e2bdcec95 +SIZE (R.devices_2.17.2.tar.gz) = 243013 diff --git a/graphics/R-cran-R.devices/pkg-descr b/graphics/R-cran-R.devices/pkg-descr new file mode 100644 index 000000000000..2956b26b11f5 --- /dev/null +++ b/graphics/R-cran-R.devices/pkg-descr @@ -0,0 +1,7 @@ +Functions for creating plots and image files in a unified way regardless of +output format (EPS, PDF, PNG, SVG, TIFF, WMF, etc.). Default device options as +well as scales and aspect ratios are controlled in a uniform way across all +device types. Switching output format requires minimal changes in code. This +package is ideal for large-scale batch processing, because it will never leave +open graphics devices or incomplete image files behind, even on errors or user +interrupts.