aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangyuan Yang <ygy@FreeBSD.org>2021-12-09 17:19:03 +0000
committerGuangyuan Yang <ygy@FreeBSD.org>2021-12-09 17:19:03 +0000
commitb89ab73481f5c40f3913ed94640648a8a81fc339 (patch)
tree75fc98e2d4f526d773db8a80629660dc51760f42
parent1bc20ab8a67b9c3c65bfaf51832416d5bcd0c758 (diff)
textproc/R-cran-spelling: New port
Tools for Spell Checking in R.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/R-cran-spelling/Makefile21
-rw-r--r--textproc/R-cran-spelling/distinfo3
-rw-r--r--textproc/R-cran-spelling/pkg-descr8
4 files changed, 33 insertions, 0 deletions
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/