www/R-cran-webutils: New port

Parses http request data in application/json, multipart/form-data, or
application/x-www-form-urlencoded format. Includes example of hosting and
parsing html form data in R using either 'httpuv' or 'Rhttpd'.
This commit is contained in:
Zsolt Udvari 2025-02-21 14:18:22 +01:00
parent d758b1caa1
commit ece8a3e673
4 changed files with 29 additions and 0 deletions

View file

@ -21,6 +21,7 @@
SUBDIR += R-cran-shiny
SUBDIR += R-cran-shinyjs
SUBDIR += R-cran-webshot
SUBDIR += R-cran-webutils
SUBDIR += UniversalFeedCreator
SUBDIR += adguardhome
SUBDIR += adjuster

View file

@ -0,0 +1,22 @@
PORTNAME= webutils
DISTVERSION= 1.2.2
CATEGORIES= www
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Parses http request data
WWW= https://cran.r-project.org/package=webutils
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
CRAN_DEPENDS= R-cran-curl>=2.5:ftp/R-cran-curl \
R-cran-jsonlite>0:converters/R-cran-jsonlite
BUILD_DEPENDS= ${CRAN_DEPENDS}
RUN_DEPENDS= ${CRAN_DEPENDS}
TEST_DEPENDS= R-cran-httpuv>0:www/R-cran-httpuv \
R-cran-testthat>0:devel/R-cran-testthat
USES= cran:auto-plist,compiles
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1740143270
SHA256 (webutils_1.2.2.tar.gz) = a534a225bfd08dc6ad61480f177eda97fadc3fc8fd66f23ad6cb327dcf68661e
SIZE (webutils_1.2.2.tar.gz) = 23489

View file

@ -0,0 +1,3 @@
Parses http request data in application/json, multipart/form-data, or
application/x-www-form-urlencoded format. Includes example of hosting and
parsing html form data in R using either 'httpuv' or 'Rhttpd'.