git: 2b0a62bda1bb - main - devel/R-cran-checkmate: new port

From: Steven Kreuzer <skreuzer_at_FreeBSD.org>
Date: Sat, 07 May 2022 17:00:17 UTC
The branch main has been updated by skreuzer:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b0a62bda1bb5659d55f1fe05857c9ca2e2a5e7d

commit 2b0a62bda1bb5659d55f1fe05857c9ca2e2a5e7d
Author:     Steven Kreuzer <skreuzer@FreeBSD.org>
AuthorDate: 2022-05-07 16:45:04 +0000
Commit:     Steven Kreuzer <skreuzer@FreeBSD.org>
CommitDate: 2022-05-07 17:00:00 +0000

    devel/R-cran-checkmate: new port
    
    Tests and assertions to perform frequent argument checks. A substantial part of
    the package was written in C to minimize any worries about execution time
    overhead.
    
    WWW: https://cran.r-project.org/web/packages/checkmate/
---
 devel/Makefile                   |  1 +
 devel/R-cran-checkmate/Makefile  | 17 +++++++++++++++++
 devel/R-cran-checkmate/distinfo  |  3 +++
 devel/R-cran-checkmate/pkg-descr |  5 +++++
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1d8a9e59e582..81396c5396d7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -22,6 +22,7 @@
     SUBDIR += R-cran-brio
     SUBDIR += R-cran-broom
     SUBDIR += R-cran-caTools
+    SUBDIR += R-cran-checkmate
     SUBDIR += R-cran-callr
     SUBDIR += R-cran-caret
     SUBDIR += R-cran-chron
diff --git a/devel/R-cran-checkmate/Makefile b/devel/R-cran-checkmate/Makefile
new file mode 100644
index 000000000000..536e9901bda1
--- /dev/null
+++ b/devel/R-cran-checkmate/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	checkmate
+DISTVERSION=	2.1.0
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	skreuzer@FreeBSD.org
+COMMENT=	Fast and versatile argument checks
+
+LICENSE=	BSD3CLAUSE
+
+CRAN_DEPENDS=	R-cran-backports>0:math/R-cran-backports
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-checkmate/distinfo b/devel/R-cran-checkmate/distinfo
new file mode 100644
index 000000000000..37f08cff22cd
--- /dev/null
+++ b/devel/R-cran-checkmate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1651941748
+SHA256 (checkmate_2.1.0.tar.gz) = b784dd5163a0350d084ef34882d9781373839dedeaa9a8b8e6187d773d0d21c6
+SIZE (checkmate_2.1.0.tar.gz) = 170034
diff --git a/devel/R-cran-checkmate/pkg-descr b/devel/R-cran-checkmate/pkg-descr
new file mode 100644
index 000000000000..4bb1e050caee
--- /dev/null
+++ b/devel/R-cran-checkmate/pkg-descr
@@ -0,0 +1,5 @@
+Tests and assertions to perform frequent argument checks. A substantial part of
+the package was written in C to minimize any worries about execution time
+overhead.
+
+WWW: https://cran.r-project.org/web/packages/checkmate/