aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangyuan Yang <ygy@FreeBSD.org>2021-12-09 16:57:26 +0000
committerGuangyuan Yang <ygy@FreeBSD.org>2021-12-09 16:57:26 +0000
commitf29474e1ddf9643fe439be4a255bfcc2bb8eedce (patch)
tree442969bb5a7b3ea4aaeeb856cb33ead9ab44cc12
parent3a598d54201e59a1149476549c8e69e33d554e5b (diff)
textproc/R-cran-hunspell: New port
High-Performance Stemmer, Tokenizer, and Spell Checker.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/R-cran-hunspell/Makefile23
-rw-r--r--textproc/R-cran-hunspell/distinfo3
-rw-r--r--textproc/R-cran-hunspell/pkg-descr8
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1dd29cbfc3b6..d21ac7d1bd5e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -12,6 +12,7 @@
SUBDIR += R-cran-formatR
SUBDIR += R-cran-highr
SUBDIR += R-cran-htmltools
+ SUBDIR += R-cran-hunspell
SUBDIR += R-cran-markdown
SUBDIR += R-cran-openxlsx
SUBDIR += R-cran-pystr
diff --git a/textproc/R-cran-hunspell/Makefile b/textproc/R-cran-hunspell/Makefile
new file mode 100644
index 000000000000..19b204004656
--- /dev/null
+++ b/textproc/R-cran-hunspell/Makefile
@@ -0,0 +1,23 @@
+# Created by: Guangyuan Yang <ygy@FreeBSD.org>
+
+PORTNAME= hunspell
+DISTVERSION= 3.0.1
+CATEGORIES= textproc
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= ygy@FreeBSD.org
+COMMENT= High-Performance Stemmer, Tokenizer, and Spell Checker
+
+LICENSE= GPLv2 LGPL21 MPL11
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= R-cran-knitr>0:print/R-cran-knitr
+RUN_DEPENDS= R-cran-Rcpp>0:devel/R-cran-Rcpp \
+ R-cran-digest>0:security/R-cran-digest
+TEST_DEPENDS= R-cran-testthat>0:devel/R-cran-testthat \
+ R-cran-knitr>0:print/R-cran-knitr \
+ R-cran-rmarkdown>0:textproc/R-cran-rmarkdown
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/textproc/R-cran-hunspell/distinfo b/textproc/R-cran-hunspell/distinfo
new file mode 100644
index 000000000000..5ca6b39f8e33
--- /dev/null
+++ b/textproc/R-cran-hunspell/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1639068580
+SHA256 (hunspell_3.0.1.tar.gz) = 1fedbb913bc13c790d2fabfe4edda0a987db3a078bea8c0ca9b777d20af08662
+SIZE (hunspell_3.0.1.tar.gz) = 3283317
diff --git a/textproc/R-cran-hunspell/pkg-descr b/textproc/R-cran-hunspell/pkg-descr
new file mode 100644
index 000000000000..8ecd1b1f6e42
--- /dev/null
+++ b/textproc/R-cran-hunspell/pkg-descr
@@ -0,0 +1,8 @@
+Low level spell checker and morphological analyzer based on the famous
+'hunspell' library <https://hunspell.github.io>. The package can analyze or
+check individual words as well as parse text, latex, html or xml documents. For
+a more user-friendly interface use the 'spelling' package which builds on this
+package to automate checking of files, documentation and vignettes in all
+common formats.
+
+WWW: https://docs.ropensci.org/hunspell/