git: 757bf2789c01 - main - graphics/R-cran-rgl: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Oct 2025 04:23:01 UTC
The branch main has been updated by uzsolt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=757bf2789c01268fbe20f88e067e205fd1cbe9d4
commit 757bf2789c01268fbe20f88e067e205fd1cbe9d4
Author: Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-10-14 04:21:56 +0000
Commit: Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-10-14 04:22:46 +0000
graphics/R-cran-rgl: New port
Provides medium to high level functions for 3D interactive graphics, including
functions modelled on base graphics (plot3d(), etc.) as well as functions for
constructing representations of geometric objects (cube3d(), etc.). Output may
be on screen using OpenGL, or to various standard 3D file formats including
WebGL, PLY, OBJ, STL as well as 2D image formats, including PNG, Postscript,
SVG, PGF.
---
graphics/Makefile | 1 +
graphics/R-cran-rgl/Makefile | 44 +++++++++++++++++++++++++++++++++++++++++++
graphics/R-cran-rgl/distinfo | 3 +++
graphics/R-cran-rgl/pkg-descr | 6 ++++++
4 files changed, 54 insertions(+)
diff --git a/graphics/Makefile b/graphics/Makefile
index 5a67ce23bd68..2bccf42a9ba8 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -33,6 +33,7 @@
SUBDIR += R-cran-qcc
SUBDIR += R-cran-qpdf
SUBDIR += R-cran-ragg
+ SUBDIR += R-cran-rgl
SUBDIR += R-cran-s2
SUBDIR += R-cran-scales
SUBDIR += R-cran-shape
diff --git a/graphics/R-cran-rgl/Makefile b/graphics/R-cran-rgl/Makefile
new file mode 100644
index 000000000000..2725b38a9859
--- /dev/null
+++ b/graphics/R-cran-rgl/Makefile
@@ -0,0 +1,44 @@
+PORTNAME= rgl
+DISTVERSION= 1.3.24
+CATEGORIES= graphics
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= 3D Visualization Using OpenGL
+WWW= https://cran.r-project.org/package=${PORTNAME}
+
+LICENSE= GPLv3
+
+CRAN_DEPENDS= R-cran-base64enc>0:converters/R-cran-base64enc \
+ R-cran-htmltools>0:textproc/R-cran-htmltools \
+ R-cran-htmlwidgets>=1.6.0:www/R-cran-htmlwidgets \
+ R-cran-jsonlite>=0.9.20:converters/R-cran-jsonlite \
+ R-cran-knitr>=1.33:print/R-cran-knitr \
+ R-cran-magrittr>0:devel/R-cran-magrittr \
+ R-cran-mime>0:misc/R-cran-mime \
+ R-cran-R6>0:devel/R-cran-R6
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+LIB_DEPENDS= libfreetype.so:print/freetype2 \
+ libpng.so:graphics/png
+RUN_DEPENDS= ${CRAN_DEPENDS}
+TEST_DEPENDS= R-cran-crosstalk>0:www/R-cran-crosstalk \
+ R-cran-deldir>=1.0.4:math/R-cran-deldir \
+ R-cran-downlit>=0.4.0:textproc/R-cran-downlit \
+ R-cran-interp>0:devel/R-cran-interp \
+ R-cran-jpeg>0:graphics/R-cran-jpeg \
+ R-cran-magick>0:graphics/R-cran-magick \
+ R-cran-markdown>0:textproc/R-cran-markdown \
+ R-cran-misc3d>0:math/R-cran-misc3d \
+ R-cran-pkgdown>=2.0.0:www/R-cran-pkgdown \
+ R-cran-png>0:graphics/R-cran-png \
+ R-cran-rmarkdown>=2.16:textproc/R-cran-rmarkdown \
+ R-cran-shiny>0:www/R-cran-shiny \
+ R-cran-testthat>0:devel/R-cran-testthat
+
+USES= compiler:c++17-lang cran:auto-plist,compiles gl xorg
+USE_GL= gl glu
+USE_XORG= x11
+
+TESTING_UNSAFE= Requires a WebGL-capable browser
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-rgl/distinfo b/graphics/R-cran-rgl/distinfo
new file mode 100644
index 000000000000..30d9e3c3e784
--- /dev/null
+++ b/graphics/R-cran-rgl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760362372
+SHA256 (rgl_1.3.24.tar.gz) = 9f580a97c56eaf28344da83a2309e35cd665fa77ba07a324d9c4789bdc03ee49
+SIZE (rgl_1.3.24.tar.gz) = 4146898
diff --git a/graphics/R-cran-rgl/pkg-descr b/graphics/R-cran-rgl/pkg-descr
new file mode 100644
index 000000000000..48bda7c2539e
--- /dev/null
+++ b/graphics/R-cran-rgl/pkg-descr
@@ -0,0 +1,6 @@
+Provides medium to high level functions for 3D interactive graphics, including
+functions modelled on base graphics (plot3d(), etc.) as well as functions for
+constructing representations of geometric objects (cube3d(), etc.). Output may
+be on screen using OpenGL, or to various standard 3D file formats including
+WebGL, PLY, OBJ, STL as well as 2D image formats, including PNG, Postscript,
+SVG, PGF.