git: 280bc631f5d6 - main - graphics/R-cran-ragg: New port: Graphic Devices Based on AGG

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 14:52:39 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=280bc631f5d64fc399d3bfe3002e90e71ceca241

commit 280bc631f5d64fc399d3bfe3002e90e71ceca241
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2024-04-05 14:06:55 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-06 14:42:39 +0000

    graphics/R-cran-ragg: New port: Graphic Devices Based on AGG
    
    - Submitter becomes maintainer
    
    Anti-Grain Geometry (AGG) is a high-quality and high-performance 2D drawing
    library.
    
    The 'ragg' package provides a set of graphic devices based on AGG to use as
    alternative to the raster devices provided through the 'grDevices' package.
    
    WWW: https://ragg.r-lib.org/
    
    Differential Revision:  https://reviews.freebsd.org/D43735
---
 graphics/Makefile              |  1 +
 graphics/R-cran-ragg/Makefile  | 24 ++++++++++++++++++++++++
 graphics/R-cran-ragg/distinfo  |  3 +++
 graphics/R-cran-ragg/pkg-descr |  5 +++++
 4 files changed, 33 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 23b5aadc5ac7..d63e8bc80ff6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -29,6 +29,7 @@
     SUBDIR += R-cran-pixmap
     SUBDIR += R-cran-png
     SUBDIR += R-cran-qcc
+    SUBDIR += R-cran-ragg
     SUBDIR += R-cran-rgdal
     SUBDIR += R-cran-s2
     SUBDIR += R-cran-scales
diff --git a/graphics/R-cran-ragg/Makefile b/graphics/R-cran-ragg/Makefile
new file mode 100644
index 000000000000..464dffbcaa27
--- /dev/null
+++ b/graphics/R-cran-ragg/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	ragg
+DISTVERSION=	1.3.0
+CATEGORIES=	graphics
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	einar@isnic.is
+COMMENT=	Graphic Devices Based on AGG
+WWW=		https://ragg.r-lib.org/
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-systemfonts>=1.0.3:devel/R-cran-systemfonts \
+		R-cran-textshaping>=0.3.0:print/R-cran-textshaping
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+		libjpeg.so:graphics/jpeg-turbo \
+		libpng16.so:graphics/png \
+		libtiff.so:graphics/tiff
+RUN_DEPENDS=	${CRAN_DEPENDS}
+TEST_DEPENDS=	R-cran-testthat>0:devel/R-cran-testthat
+
+USES=		cran:auto-plist,compiles pkgconfig
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-ragg/distinfo b/graphics/R-cran-ragg/distinfo
new file mode 100644
index 000000000000..7cee0e60c949
--- /dev/null
+++ b/graphics/R-cran-ragg/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710405841
+SHA256 (ragg_1.3.0.tar.gz) = 328c24d35b6b08317f21413902c35e32fd6a953d3e7401fa8b0f5d13895614b2
+SIZE (ragg_1.3.0.tar.gz) = 430242
diff --git a/graphics/R-cran-ragg/pkg-descr b/graphics/R-cran-ragg/pkg-descr
new file mode 100644
index 000000000000..b4614faeb226
--- /dev/null
+++ b/graphics/R-cran-ragg/pkg-descr
@@ -0,0 +1,5 @@
+Anti-Grain Geometry (AGG) is a high-quality and high-performance 2D drawing
+library.
+
+The 'ragg' package provides a set of graphic devices based on AGG to use as
+alternative to the raster devices provided through the 'grDevices' package.