summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZsolt Udvari <uzsolt@FreeBSD.org>2024-08-13 19:19:49 +0200
committerZsolt Udvari <uzsolt@FreeBSD.org>2024-08-13 19:20:55 +0200
commit335045e155bc9d46afc466971ce3e3e49141496b (patch)
treea47c0464e9f0809408c7c21be3e0ecf4a375c8c8
parentwww/mod_qos: Update 11.74 → 11.75 (diff)
devel/R-cran-urlchecker: new port
Provide the URL checking tools available in R 4.1+ as a package for earlier versions of R. Also uses concurrent requests so can be much faster than the serial versions. Required by new version of devel/R-cran-devtools.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/R-cran-urlchecker/Makefile20
-rw-r--r--devel/R-cran-urlchecker/distinfo3
-rw-r--r--devel/R-cran-urlchecker/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c0caadf39dc3..6235ecd49851 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -144,6 +144,7 @@
SUBDIR += R-cran-timechange
SUBDIR += R-cran-tinytest
SUBDIR += R-cran-tzdb
+ SUBDIR += R-cran-urlchecker
SUBDIR += R-cran-usethis
SUBDIR += R-cran-uuid
SUBDIR += R-cran-vcd
diff --git a/devel/R-cran-urlchecker/Makefile b/devel/R-cran-urlchecker/Makefile
new file mode 100644
index 000000000000..7dd60e3a2329
--- /dev/null
+++ b/devel/R-cran-urlchecker/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= urlchecker
+DISTVERSION= 1.0.1
+CATEGORIES= devel
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= uzsolt@FreeBSD.org
+COMMENT= URL checking tools
+WWW= https://cran.r-project.org/web/packages/urlchecker/
+
+LICENSE= GPLv3
+
+CRAN_DEPENDS= R-cran-cli>=2.4.0:devel/R-cran-cli \
+ R-cran-curl>0:ftp/R-cran-curl \
+ R-cran-xml2>0:textproc/R-cran-xml2
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+
+USES= cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-urlchecker/distinfo b/devel/R-cran-urlchecker/distinfo
new file mode 100644
index 000000000000..0ddaf5bccfda
--- /dev/null
+++ b/devel/R-cran-urlchecker/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1723569179
+SHA256 (urlchecker_1.0.1.tar.gz) = 62165ddbe1b748b58c71a50c8f07fdde6f3d19a7b39787b9fa2b4f9216250318
+SIZE (urlchecker_1.0.1.tar.gz) = 13340
diff --git a/devel/R-cran-urlchecker/pkg-descr b/devel/R-cran-urlchecker/pkg-descr
new file mode 100644
index 000000000000..6d31bf769228
--- /dev/null
+++ b/devel/R-cran-urlchecker/pkg-descr
@@ -0,0 +1,3 @@
+Provide the URL checking tools available in R 4.1+ as a package for earlier
+versions of R. Also uses concurrent requests so can be much faster than the
+serial versions.