summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/R-cran-tweenr/Makefile25
-rw-r--r--graphics/R-cran-tweenr/distinfo3
-rw-r--r--graphics/R-cran-tweenr/pkg-descr5
4 files changed, 34 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 50b87413c358..f47942ee1b54 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -35,6 +35,7 @@
SUBDIR += R-cran-s2
SUBDIR += R-cran-scales
SUBDIR += R-cran-shape
+ SUBDIR += R-cran-tweenr
SUBDIR += R-cran-viridis
SUBDIR += R-cran-viridisLite
SUBDIR += R-cran-visNetwork
diff --git a/graphics/R-cran-tweenr/Makefile b/graphics/R-cran-tweenr/Makefile
new file mode 100644
index 000000000000..a23a73c7dac8
--- /dev/null
+++ b/graphics/R-cran-tweenr/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= tweenr
+DISTVERSION= 2.0.3
+CATEGORIES= graphics
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Interpolate Data for Smooth Animations
+WWW= https://cran.r-project.org/package=tweenr
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+CRAN_DEPENDS= R-cran-cpp11>=0.4.2:devel/R-cran-cpp11 \
+ R-cran-farver>0:graphics/R-cran-farver \
+ R-cran-magrittr>0:devel/R-cran-magrittr \
+ R-cran-rlang>0:devel/R-cran-rlang \
+ R-cran-vctrs>0:devel/R-cran-vctrs
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+TEST_DEPENDS= R-cran-covr>0:devel/R-cran-covr \
+ R-cran-testthat>0:devel/R-cran-testthat
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-tweenr/distinfo b/graphics/R-cran-tweenr/distinfo
new file mode 100644
index 000000000000..dc54f70fe3c4
--- /dev/null
+++ b/graphics/R-cran-tweenr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760291527
+SHA256 (tweenr_2.0.3.tar.gz) = efabe512a45d653787ba40f87f3e23add4037f88573a102fa9ac7a5ff43c8cbe
+SIZE (tweenr_2.0.3.tar.gz) = 584998
diff --git a/graphics/R-cran-tweenr/pkg-descr b/graphics/R-cran-tweenr/pkg-descr
new file mode 100644
index 000000000000..62cb56216931
--- /dev/null
+++ b/graphics/R-cran-tweenr/pkg-descr
@@ -0,0 +1,5 @@
+In order to create smooth animation between states of data, tweening is
+necessary. This package provides a range of functions for creating tweened data
+that can be used as basis for animation. Furthermore it adds a number of
+vectorized interpolaters for common R data types such as numeric, date and
+colour.