git: ca17cc6eecd9 - main - devel/R-cran-rdtools: New port

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sun, 04 Oct 2026 18:31:20 UTC
The branch main has been updated by uzsolt:

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

commit ca17cc6eecd99cf89dc7c6f5899a04030de55911
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2026-10-04 18:29:38 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2026-10-04 18:30:58 +0000

    devel/R-cran-rdtools: New port
    
    Provides fast, cached lookup of help topics and aliases across installed,
    source, and in-development packages, plus efficient retrieval of parsed 'Rd'
    ('R' documentation) objects. Per-package indexes are built once and cached,
    making repeated retrieval cheap enough to call in a tight loop.
    
    This port is required updating of devel/R-cran-roxygen2.
---
 devel/Makefile                 |  1 +
 devel/R-cran-rdtools/Makefile  | 17 +++++++++++++++++
 devel/R-cran-rdtools/distinfo  |  3 +++
 devel/R-cran-rdtools/pkg-descr |  4 ++++
 4 files changed, 25 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 8c85cc806b24..6ccc3ff92e9a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -129,6 +129,7 @@
     SUBDIR += R-cran-randomForest
     SUBDIR += R-cran-rappdirs
     SUBDIR += R-cran-rcmdcheck
+    SUBDIR += R-cran-rdtools
     SUBDIR += R-cran-registry
     SUBDIR += R-cran-rematch2
     SUBDIR += R-cran-remotes
diff --git a/devel/R-cran-rdtools/Makefile b/devel/R-cran-rdtools/Makefile
new file mode 100644
index 000000000000..7a35ac26feaa
--- /dev/null
+++ b/devel/R-cran-rdtools/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	rdtools
+DISTVERSION=	0.1.0
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	uzsolt@FreeBSD.org
+COMMENT=	Manipulation of 'Rd' Files and Help Topics
+WWW=		https://cran.r-project.org/package=rdtools
+
+LICENSE=	MIT
+
+TEST_DEPENDS=	R-cran-testthat>=3.0.0:devel/R-cran-testthat \
+		R-cran-withr>0:devel/R-cran-withr
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-rdtools/distinfo b/devel/R-cran-rdtools/distinfo
new file mode 100644
index 000000000000..c054f99e4c53
--- /dev/null
+++ b/devel/R-cran-rdtools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791137872
+SHA256 (rdtools_0.1.0.tar.gz) = 90fdaef0c78ad322ca76f4b401c68b4028c2437cd51a1b6ccbf411d9c66c094b
+SIZE (rdtools_0.1.0.tar.gz) = 20592
diff --git a/devel/R-cran-rdtools/pkg-descr b/devel/R-cran-rdtools/pkg-descr
new file mode 100644
index 000000000000..a937d5ee5567
--- /dev/null
+++ b/devel/R-cran-rdtools/pkg-descr
@@ -0,0 +1,4 @@
+Provides fast, cached lookup of help topics and aliases across installed,
+source, and in-development packages, plus efficient retrieval of parsed 'Rd'
+('R' documentation) objects. Per-package indexes are built once and cached,
+making repeated retrieval cheap enough to call in a tight loop.