aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-12-22 06:35:59 +0800
committermiwi <miwi@FreeBSD.org>2009-12-22 06:35:59 +0800
commit1cf750b47c36a99346154b1f96da6a10e4c86244 (patch)
treef23960cf221963fe4a19acfd64d20e6e77fa099e
parentf103d394deed48f614ed770e94550e80dbe27eb5 (diff)
downloadfreebsd-ports-gnome-1cf750b47c36a99346154b1f96da6a10e4c86244.tar.gz
freebsd-ports-gnome-1cf750b47c36a99346154b1f96da6a10e4c86244.tar.zst
freebsd-ports-gnome-1cf750b47c36a99346154b1f96da6a10e4c86244.zip
A general classifier module to allow Bayesian and other types of
classifications. WWW: http://github.com/cardmagic/classifier/tree/master PR: ports/141807 Submitted by: Peter Schuller <peter.schuller at infidyne.com>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-classifier/Makefile22
-rw-r--r--devel/rubygem-classifier/distinfo3
-rw-r--r--devel/rubygem-classifier/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 03b1c61fb470..073b42cc5c87 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2772,6 +2772,7 @@
SUBDIR += rubygem-bioruby
SUBDIR += rubygem-builder
SUBDIR += rubygem-chronic
+ SUBDIR += rubygem-classifier
SUBDIR += rubygem-columnize
SUBDIR += rubygem-configuration
SUBDIR += rubygem-crack
diff --git a/devel/rubygem-classifier/Makefile b/devel/rubygem-classifier/Makefile
new file mode 100644
index 000000000000..7c3f0f4ff132
--- /dev/null
+++ b/devel/rubygem-classifier/Makefile
@@ -0,0 +1,22 @@
+# Ports collection makefile for: rubygem-classifier
+# Date created: 2009-12-11
+# Whom: Peter Schuller <peter.schuller@infidyne.com>
+#
+# $FreeBSD$
+
+PORTNAME= classifier
+PORTVERSION= 1.3.1
+CATEGORIES= devel rubygems
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}/${PORTNAME}/
+
+MAINTAINER= peter.schuller@infidyne.com
+COMMENT= A classifier module for Bayesian and other types of classifications
+
+BUILD_DEPENDS= rubygem-stemmer>=1.0.0:${PORTSDIR}/devel/rubygem-stemmer
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-classifier/distinfo b/devel/rubygem-classifier/distinfo
new file mode 100644
index 000000000000..d708a0ef0ea4
--- /dev/null
+++ b/devel/rubygem-classifier/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/classifier-1.3.1.gem) = d20bea8c243f02e6275b1fb7d25169c7
+SHA256 (rubygem/classifier-1.3.1.gem) = 88f4f62a9d04209d7e92572a428d15e7441aa843dc10178737e41b3ae5292723
+SIZE (rubygem/classifier-1.3.1.gem) = 24576
diff --git a/devel/rubygem-classifier/pkg-descr b/devel/rubygem-classifier/pkg-descr
new file mode 100644
index 000000000000..a6ce658b4352
--- /dev/null
+++ b/devel/rubygem-classifier/pkg-descr
@@ -0,0 +1,4 @@
+A general classifier module to allow Bayesian and other types of
+classifications.
+
+WWW: http://github.com/cardmagic/classifier/tree/master