aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-08-26 02:49:16 +0800
committerswills <swills@FreeBSD.org>2014-08-26 02:49:16 +0800
commitc181fdb07f59fb59192d6858783b7a5072abcf5a (patch)
tree820e12d07b427d9064d2917311585abdd5736528
parentbf923dc8ef4a23579bcd89e4abc59134233d37df (diff)
downloadfreebsd-ports-gnome-c181fdb07f59fb59192d6858783b7a5072abcf5a.tar.gz
freebsd-ports-gnome-c181fdb07f59fb59192d6858783b7a5072abcf5a.tar.zst
freebsd-ports-gnome-c181fdb07f59fb59192d6858783b7a5072abcf5a.zip
devel/rubygem-classifier-reborn: add port to be used by Jekyll update
A general classifier module to allow Bayesian and other types of classifications. WWW: https://github.com/jekyll/classifier-reborn PR: 192973 Submitted by: Michael Moll <kvedulv@kvedulv.de>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-classifier-reborn/Makefile22
-rw-r--r--devel/rubygem-classifier-reborn/distinfo2
-rw-r--r--devel/rubygem-classifier-reborn/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 49d926737907..dbf745642f2d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4262,6 +4262,7 @@
SUBDIR += rubygem-chronic
SUBDIR += rubygem-clamp
SUBDIR += rubygem-classifier
+ SUBDIR += rubygem-classifier-reborn
SUBDIR += rubygem-climate_control
SUBDIR += rubygem-clio
SUBDIR += rubygem-cloudfiles
diff --git a/devel/rubygem-classifier-reborn/Makefile b/devel/rubygem-classifier-reborn/Makefile
new file mode 100644
index 000000000000..b18a5b8f3d1d
--- /dev/null
+++ b/devel/rubygem-classifier-reborn/Makefile
@@ -0,0 +1,22 @@
+# Created by: Michael Moll <kvedulv@kvedulv.de>
+# $FreeBSD$
+
+PORTNAME= classifier-reborn
+PORTVERSION= 2.0.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Classifier module for Bayesian and other types of classifications
+
+LICENSE= LGPL21
+
+RUN_DEPENDS= rubygem-fast-stemmer>=1.0.0:${PORTSDIR}/devel/rubygem-fast-stemmer
+
+PLIST_FILES= bin/bayes.rb bin/summarize.rb
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-classifier-reborn/distinfo b/devel/rubygem-classifier-reborn/distinfo
new file mode 100644
index 000000000000..2e25d774a65b
--- /dev/null
+++ b/devel/rubygem-classifier-reborn/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/classifier-reborn-2.0.1.gem) = 7a5ee0fe2042b6c034be14dfc363fd86afe6ccda271528107a53896e2ca720dd
+SIZE (rubygem/classifier-reborn-2.0.1.gem) = 23040
diff --git a/devel/rubygem-classifier-reborn/pkg-descr b/devel/rubygem-classifier-reborn/pkg-descr
new file mode 100644
index 000000000000..406b490ee41f
--- /dev/null
+++ b/devel/rubygem-classifier-reborn/pkg-descr
@@ -0,0 +1,4 @@
+A general classifier module to allow Bayesian and other types of
+classifications.
+
+WWW: https://github.com/jekyll/classifier-reborn