aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/R-cran-httr2/Makefile27
-rw-r--r--www/R-cran-httr2/distinfo3
-rw-r--r--www/R-cran-httr2/pkg-descr4
4 files changed, 35 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 388394f52e83..e0fe7f048375 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -9,6 +9,7 @@
SUBDIR += R-cran-htmlwidgets
SUBDIR += R-cran-httpuv
SUBDIR += R-cran-httr
+ SUBDIR += R-cran-httr2
SUBDIR += R-cran-jquerylib
SUBDIR += R-cran-rvest
SUBDIR += R-cran-scrapeR
diff --git a/www/R-cran-httr2/Makefile b/www/R-cran-httr2/Makefile
new file mode 100644
index 000000000000..922bfae7e3b1
--- /dev/null
+++ b/www/R-cran-httr2/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= httr2
+DISTVERSION= 1.0.2
+CATEGORIES= www
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= Tools for Working HTTP requests
+WWW= https://cran.r-project.org/web/packages/httr2/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \
+ R-cran-curl>=5.0.2:ftp/R-cran-curl \
+ R-cran-glue>0:devel/R-cran-glue \
+ R-cran-lifecycle>0:devel/R-cran-lifecycle \
+ R-cran-magrittr>0:devel/R-cran-magrittr \
+ R-cran-openssl>0:security/R-cran-openssl \
+ R-cran-R6>0:devel/R-cran-R6 \
+ R-cran-rappdirs>0:devel/R-cran-rappdirs \
+ R-cran-rlang>0:devel/R-cran-rlang \
+ R-cran-vctrs>0:devel/R-cran-vctrs \
+ R-cran-withr>0:devel/R-cran-withr
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/www/R-cran-httr2/distinfo b/www/R-cran-httr2/distinfo
new file mode 100644
index 000000000000..290e90ef4490
--- /dev/null
+++ b/www/R-cran-httr2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1723530050
+SHA256 (httr2_1.0.2.tar.gz) = d1f8e37f74a59f4e1b3b886e5f453336ba14251e500acdccc8f4f7d2b9300048
+SIZE (httr2_1.0.2.tar.gz) = 215147
diff --git a/www/R-cran-httr2/pkg-descr b/www/R-cran-httr2/pkg-descr
new file mode 100644
index 000000000000..f1bc1ad5d270
--- /dev/null
+++ b/www/R-cran-httr2/pkg-descr
@@ -0,0 +1,4 @@
+Tools for creating and modifying HTTP requests, then performing them and
+processing the results. 'httr2' is a modern re-imagining of 'httr' that uses a
+pipe-based interface and solves more of the problems that API wrapping packages
+face.