aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Bjarni Halldórsson <einar@isnic.is>2024-04-05 14:06:55 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-04-06 14:42:39 +0000
commit280bc631f5d64fc399d3bfe3002e90e71ceca241 (patch)
tree509969d078a62275f15357cd45b3a08fb25f2149
parent2b1ca2ebc522bfaca98471c0a0d02ad5cb4c2827 (diff)
downloadports-280bc631f5d64fc399d3bfe3002e90e71ceca241.tar.gz
ports-280bc631f5d64fc399d3bfe3002e90e71ceca241.zip
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
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/R-cran-ragg/Makefile24
-rw-r--r--graphics/R-cran-ragg/distinfo3
-rw-r--r--graphics/R-cran-ragg/pkg-descr5
4 files changed, 33 insertions, 0 deletions
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.