git: 335045e155bc - main - devel/R-cran-urlchecker: new port

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Tue, 13 Aug 2024 17:21:09 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=335045e155bc9d46afc466971ce3e3e49141496b

commit 335045e155bc9d46afc466971ce3e3e49141496b
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2024-08-13 17:19:49 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-08-13 17:20:55 +0000

    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.
---
 devel/Makefile                    |  1 +
 devel/R-cran-urlchecker/Makefile  | 20 ++++++++++++++++++++
 devel/R-cran-urlchecker/distinfo  |  3 +++
 devel/R-cran-urlchecker/pkg-descr |  3 +++
 4 files changed, 27 insertions(+)

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.