Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2025 18:08:58 GMT
From:      Zsolt Udvari <uzsolt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7e1ea1ba028f - main - graphics/R-cran-R.devices: new port
Message-ID:  <202502161808.51GI8wtM019402@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7e1ea1ba028fd1ccd1c97e961d824134d82edf21

commit 7e1ea1ba028fd1ccd1c97e961d824134d82edf21
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-02-16 18:08:03 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-02-16 18:08:49 +0000

    graphics/R-cran-R.devices: new port
    
    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.
---
 graphics/Makefile                   |  1 +
 graphics/R-cran-R.devices/Makefile  | 21 +++++++++++++++++++++
 graphics/R-cran-R.devices/distinfo  |  3 +++
 graphics/R-cran-R.devices/pkg-descr |  7 +++++++
 4 files changed, 32 insertions(+)

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 <bsd.port.mk>
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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502161808.51GI8wtM019402>