git: 9ed19b470446 - main - devel/R-cran-devtools: New Port

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Sat, 06 Nov 2021 21:46:15 UTC
The branch main has been updated by ygy:

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

commit 9ed19b470446619630d296b4ef9673206b8e8f0c
Author:     Jean-Paul Beconne <jpbeconne@free.fr>
AuthorDate: 2021-11-06 21:46:07 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-11-06 21:46:07 +0000

    devel/R-cran-devtools: New Port
    
    Tools to Make Developing R Packages Easier.
    
    PR:             246860
---
 devel/Makefile                  |  1 +
 devel/R-cran-devtools/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 devel/R-cran-devtools/distinfo  |  3 +++
 devel/R-cran-devtools/pkg-descr |  3 +++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 0bb1836fae74..3cbda4b12a71 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -35,6 +35,7 @@
     SUBDIR += R-cran-crayon
     SUBDIR += R-cran-data.table
     SUBDIR += R-cran-desc
+    SUBDIR += R-cran-devtools
     SUBDIR += R-cran-diffobj
     SUBDIR += R-cran-doParallel
     SUBDIR += R-cran-ellipsis
diff --git a/devel/R-cran-devtools/Makefile b/devel/R-cran-devtools/Makefile
new file mode 100644
index 000000000000..42e41baf0ffb
--- /dev/null
+++ b/devel/R-cran-devtools/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	devtools
+DISTVERSION=	2.4.2
+CATEGORIES=	devel
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	jpbeconne@free.fr
+COMMENT=	Tools to Make Developing R Packages Easier
+
+LICENSE=	MIT
+
+CRAN_DEPENDS=	R-cran-callr>=3.6.0:devel/R-cran-callr \
+		R-cran-cli>=2.4.0:devel/R-cran-cli \
+		R-cran-desc>=1.3.0:devel/R-cran-desc \
+		R-cran-ellipsis>=0.3.1:devel/R-cran-ellipsis \
+		R-cran-fs>=1.5.0:sysutils/R-cran-fs \
+		R-cran-httr>=1.4.2:www/R-cran-httr \
+		R-cran-lifecycle>=1.0.0:devel/R-cran-lifecycle \
+		R-cran-memoise>=1.0.0:devel/R-cran-memoise \
+		R-cran-pkgbuild>=1.2.0:devel/R-cran-pkgbuild \
+		R-cran-pkgload>=1.2.1:devel/R-cran-pkgload \
+		R-cran-rcmdcheck>=1.3.3:devel/R-cran-rcmdcheck \
+		R-cran-remotes>=2.3.0:devel/R-cran-remotes \
+		R-cran-rlang>=0.4.10:devel/R-cran-rlang \
+		R-cran-roxygen2>=7.1.1:devel/R-cran-roxygen2 \
+		R-cran-rstudioapi>=0.13:devel/R-cran-rstudioapi \
+		R-cran-rversions>=2.0.2:devel/R-cran-rversions \
+		R-cran-sessioninfo>=1.1.1:devel/R-cran-sessioninfo \
+		R-cran-testthat>=3.0.2:devel/R-cran-testthat \
+		R-cran-usethis>=2.0.0:devel/R-cran-usethis \
+		R-cran-withr>=2.4.1:devel/R-cran-withr
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/devel/R-cran-devtools/distinfo b/devel/R-cran-devtools/distinfo
new file mode 100644
index 000000000000..71e1e56f318b
--- /dev/null
+++ b/devel/R-cran-devtools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1623870742
+SHA256 (devtools_2.4.2.tar.gz) = 71f0a55054d293fb553702b21b91941bc5c83a933610fad6f9662bf0a6178f05
+SIZE (devtools_2.4.2.tar.gz) = 371298
diff --git a/devel/R-cran-devtools/pkg-descr b/devel/R-cran-devtools/pkg-descr
new file mode 100644
index 000000000000..aefa07af617d
--- /dev/null
+++ b/devel/R-cran-devtools/pkg-descr
@@ -0,0 +1,3 @@
+Collection of package development tools.
+
+WWW: https://CRAN.R-project.org/package=devtools