aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZsolt Udvari <uzsolt@FreeBSD.org>2024-08-13 11:59:55 +0000
committerZsolt Udvari <uzsolt@FreeBSD.org>2024-08-13 12:01:12 +0000
commit583ba24c482c8aaef051c66885279024e38f45a1 (patch)
tree1931c66c9aa1b4add8930dae78c69182d40ac6a3
parentb6ec64a9a2c9fc664db261f07c373bb65b522252 (diff)
devel/R-cran-profvis: new port: visualizing code profiling data
Profvis is a tool for visualizing code profiling data from R. It creates a web page which provides a graphical interface for exploring the data. Required to update devel/R-cran-devtools.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/R-cran-profvis/Makefile23
-rw-r--r--devel/R-cran-profvis/distinfo3
-rw-r--r--devel/R-cran-profvis/pkg-descr2
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 4786d0e9c760..c0caadf39dc3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -107,6 +107,7 @@
SUBDIR += R-cran-praise
SUBDIR += R-cran-prettycode
SUBDIR += R-cran-prettyunits
+ SUBDIR += R-cran-profvis
SUBDIR += R-cran-progress
SUBDIR += R-cran-progressr
SUBDIR += R-cran-promises
diff --git a/devel/R-cran-profvis/Makefile b/devel/R-cran-profvis/Makefile
new file mode 100644
index 000000000000..1a442421ac80
--- /dev/null
+++ b/devel/R-cran-profvis/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= profvis
+DISTVERSION= 0.3.8
+CATEGORIES= devel
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Interactive visualizations for profiling R code
+WWW= https://cran.r-project.org/web/packages/profvis/
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+CRAN_DEPENDS= R-cran-htmlwidgets>=0.3.2:www/R-cran-htmlwidgets \
+ R-cran-purrr>0:devel/R-cran-purrr \
+ R-cran-rlang>=0.4.9:devel/R-cran-rlang \
+ R-cran-stringr>0:textproc/R-cran-stringr \
+ R-cran-vctrs>0:devel/R-cran-vctrs
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-profvis/distinfo b/devel/R-cran-profvis/distinfo
new file mode 100644
index 000000000000..d7ab6410267c
--- /dev/null
+++ b/devel/R-cran-profvis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1723549120
+SHA256 (profvis_0.3.8.tar.gz) = ec02c75bc9907a73564e691adfa8e06651ca0bd73b7915412960231cd265b4b2
+SIZE (profvis_0.3.8.tar.gz) = 149012
diff --git a/devel/R-cran-profvis/pkg-descr b/devel/R-cran-profvis/pkg-descr
new file mode 100644
index 000000000000..ee31f4159065
--- /dev/null
+++ b/devel/R-cran-profvis/pkg-descr
@@ -0,0 +1,2 @@
+Profvis is a tool for visualizing code profiling data from R. It creates a web
+page which provides a graphical interface for exploring the data.