git: b89ab73481f5 - main - textproc/R-cran-spelling: New port

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Thu, 09 Dec 2021 17:19:27 UTC
The branch main has been updated by ygy:

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

commit b89ab73481f5c40f3913ed94640648a8a81fc339
Author:     Guangyuan Yang <ygy@FreeBSD.org>
AuthorDate: 2021-12-09 17:19:03 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-12-09 17:19:03 +0000

    textproc/R-cran-spelling: New port
    
    Tools for Spell Checking in R.
---
 textproc/Makefile                  |  1 +
 textproc/R-cran-spelling/Makefile  | 21 +++++++++++++++++++++
 textproc/R-cran-spelling/distinfo  |  3 +++
 textproc/R-cran-spelling/pkg-descr |  8 ++++++++
 4 files changed, 33 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index d21ac7d1bd5e..fe93b345cede 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -24,6 +24,7 @@
     SUBDIR += R-cran-rio
     SUBDIR += R-cran-rmarkdown
     SUBDIR += R-cran-sass
+    SUBDIR += R-cran-spelling
     SUBDIR += R-cran-stringi
     SUBDIR += R-cran-stringr
     SUBDIR += R-cran-utf8
diff --git a/textproc/R-cran-spelling/Makefile b/textproc/R-cran-spelling/Makefile
new file mode 100644
index 000000000000..673009854413
--- /dev/null
+++ b/textproc/R-cran-spelling/Makefile
@@ -0,0 +1,21 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME=	spelling
+DISTVERSION=	2.2
+CATEGORIES=	textproc
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	ygy@FreeBSD.org
+COMMENT=	Tools for Spell Checking in R
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	R-cran-knitr>0:print/R-cran-knitr \
+		R-cran-commonmark>0:textproc/R-cran-commonmark \
+		R-cran-hunspell>=3.0:textproc/R-cran-hunspell \
+		R-cran-xml2>0:textproc/R-cran-xml2
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/textproc/R-cran-spelling/distinfo b/textproc/R-cran-spelling/distinfo
new file mode 100644
index 000000000000..308a6c3a29a6
--- /dev/null
+++ b/textproc/R-cran-spelling/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1639069163
+SHA256 (spelling_2.2.tar.gz) = 740dc8546d096f89d796d8778d522ae980fbde6e0d105170c2f8881d7892369d
+SIZE (spelling_2.2.tar.gz) = 10764
diff --git a/textproc/R-cran-spelling/pkg-descr b/textproc/R-cran-spelling/pkg-descr
new file mode 100644
index 000000000000..248c05fa7d34
--- /dev/null
+++ b/textproc/R-cran-spelling/pkg-descr
@@ -0,0 +1,8 @@
+Spell checking common document formats including latex, markdown, manual pages,
+and description files. Includes utilities to automate checking of documentation
+and vignettes as a unit test during 'R CMD check'. Both British and American
+English are supported out of the box and other languages can be added. In
+addition, packages may define a 'wordlist' to allow custom terminology without
+having to abuse punctuation.
+
+WWW: https://docs.ropensci.org/spelling/