aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/rubygem-cld3
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-05-13 04:25:45 +0800
committerjrm <jrm@FreeBSD.org>2017-05-13 04:25:45 +0800
commit40cd873b4617b315cb80b72ce1e81c76cbdef6ee (patch)
tree9b23344e3bb6260eae78afbc157da327b7cfff2c /textproc/rubygem-cld3
parent674687f54ded5a541caea055b5fe702de565d563 (diff)
downloadfreebsd-ports-gnome-40cd873b4617b315cb80b72ce1e81c76cbdef6ee.tar.gz
freebsd-ports-gnome-40cd873b4617b315cb80b72ce1e81c76cbdef6ee.tar.zst
freebsd-ports-gnome-40cd873b4617b315cb80b72ce1e81c76cbdef6ee.zip
New port, textproc/rubygem-cld3: Compact Language Detection
WWW: https://github.com/akihikodaki/cld3-ruby Approved by: swills (mentor, implicit)
Diffstat (limited to 'textproc/rubygem-cld3')
-rw-r--r--textproc/rubygem-cld3/Makefile20
-rw-r--r--textproc/rubygem-cld3/distinfo3
-rw-r--r--textproc/rubygem-cld3/pkg-descr4
3 files changed, 27 insertions, 0 deletions
diff --git a/textproc/rubygem-cld3/Makefile b/textproc/rubygem-cld3/Makefile
new file mode 100644
index 000000000000..616cd497c63b
--- /dev/null
+++ b/textproc/rubygem-cld3/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= cld3
+PORTVERSION= 3.1.1
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Compact Language Detection for Ruby
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= devel/protobuf>0:devel/protobuf \
+ rubygem-ffi>0:devel/rubygem-ffi
+
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-cld3/distinfo b/textproc/rubygem-cld3/distinfo
new file mode 100644
index 000000000000..ac3639a66558
--- /dev/null
+++ b/textproc/rubygem-cld3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1494612445
+SHA256 (rubygem/cld3-3.1.1.gem) = 1579f4c99ed2c9b4f6db5804e909b610110e34f784ab6166e3d4242be4f11c9b
+SIZE (rubygem/cld3-3.1.1.gem) = 621056
diff --git a/textproc/rubygem-cld3/pkg-descr b/textproc/rubygem-cld3/pkg-descr
new file mode 100644
index 000000000000..2d1d83b11f0b
--- /dev/null
+++ b/textproc/rubygem-cld3/pkg-descr
@@ -0,0 +1,4 @@
+Compact Language Detector v3 (CLD3) is a neural network model for language
+identification.
+
+WWW: https://github.com/akihikodaki/cld3-ruby