aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-01 12:56:49 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-01 12:56:49 +0000
commita8bec7153e82096c982720be682b2a5baef74e1e (patch)
tree94a5d41799893172a77be9748678355631ff9883 /textproc
parente9b095e4330695c0d8b80be89831e9781057e0a6 (diff)
downloadports-a8bec7153e82096c982720be682b2a5baef74e1e.tar.gz
ports-a8bec7153e82096c982720be682b2a5baef74e1e.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-reverend/Makefile37
-rw-r--r--textproc/py-reverend/distinfo3
-rw-r--r--textproc/py-reverend/pkg-descr14
-rw-r--r--textproc/py-reverend/pkg-plist31
5 files changed, 86 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index e06310db6246..beddd33cc903 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -640,6 +640,7 @@
SUBDIR += py-ltxml
SUBDIR += py-pyx12
SUBDIR += py-rdflib
+ SUBDIR += py-reverend
SUBDIR += py-rss2gen
SUBDIR += py-rxp
SUBDIR += py-sgrep
diff --git a/textproc/py-reverend/Makefile b/textproc/py-reverend/Makefile
new file mode 100644
index 000000000000..da0be50f1234
--- /dev/null
+++ b/textproc/py-reverend/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: reverend
+# Date created: 2006-04-29
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= reverend
+PORTVERSION= 0.3
+CATEGORIES= textproc mail math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Reverend-${PORTVERSION}
+
+MAINTAINER= nivit@email.it
+COMMENT= A simple Bayesian classifier written in Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+.if defined(WITHOUT_EXAMPLES)
+PORTEXAMPLES= "@comment "
+.else
+PORTEXAMPLES= ""
+.endif
+PLIST_SUB= PORTEXAMPLES=${PORTEXAMPLES}
+
+post-install:
+.if !defined(WITHOUT_EXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/py-reverend/distinfo b/textproc/py-reverend/distinfo
new file mode 100644
index 000000000000..5b59e5edb46b
--- /dev/null
+++ b/textproc/py-reverend/distinfo
@@ -0,0 +1,3 @@
+MD5 (Reverend-0.3.tar.gz) = bd84755ad5293bc204e582fdad8cce42
+SHA256 (Reverend-0.3.tar.gz) = a8610d05cf7be266fc3a6c779a4917aebd1f490649e365255e17c7fd9e799d17
+SIZE (Reverend-0.3.tar.gz) = 11892
diff --git a/textproc/py-reverend/pkg-descr b/textproc/py-reverend/pkg-descr
new file mode 100644
index 000000000000..b8a1136060dc
--- /dev/null
+++ b/textproc/py-reverend/pkg-descr
@@ -0,0 +1,14 @@
+Divmod Reverend is a simple, general purpose Bayesian classifier,
+written in Python.
+It is designed to be easy to adapt and extend for your application.
+
+Stuff you can do with the Reverend:
+
+ * classify RSS stories
+ * classify recipes by cuisine
+ * who do you write like? Shakespeare, Dickens or Austen
+ * detect the language of a document
+ * is your code more like Guido's or Peter's
+
+Author: Amir Bakhtiar <amir@divmod.org>
+WWW: http://www.divmod.org/trac/wiki/DivmodReverend
diff --git a/textproc/py-reverend/pkg-plist b/textproc/py-reverend/pkg-plist
new file mode 100644
index 000000000000..14939e6decfe
--- /dev/null
+++ b/textproc/py-reverend/pkg-plist
@@ -0,0 +1,31 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/reverend/__init__.py
+%%PYTHON_SITELIBDIR%%/reverend/__init__.pyc
+%%PYTHON_SITELIBDIR%%/reverend/__init__.pyo
+%%PYTHON_SITELIBDIR%%/reverend/guessers/__init__.py
+%%PYTHON_SITELIBDIR%%/reverend/guessers/__init__.pyc
+%%PYTHON_SITELIBDIR%%/reverend/guessers/__init__.pyo
+%%PYTHON_SITELIBDIR%%/reverend/guessers/email.py
+%%PYTHON_SITELIBDIR%%/reverend/guessers/email.pyc
+%%PYTHON_SITELIBDIR%%/reverend/guessers/email.pyo
+%%PYTHON_SITELIBDIR%%/reverend/thomas.py
+%%PYTHON_SITELIBDIR%%/reverend/thomas.pyc
+%%PYTHON_SITELIBDIR%%/reverend/thomas.pyo
+%%PYTHON_SITELIBDIR%%/reverend/ui/__init__.py
+%%PYTHON_SITELIBDIR%%/reverend/ui/__init__.pyc
+%%PYTHON_SITELIBDIR%%/reverend/ui/__init__.pyo
+%%PYTHON_SITELIBDIR%%/reverend/ui/tester.py
+%%PYTHON_SITELIBDIR%%/reverend/ui/tester.pyc
+%%PYTHON_SITELIBDIR%%/reverend/ui/tester.pyo
+%%PYTHON_SITELIBDIR%%/reverend/ui/trainer.py
+%%PYTHON_SITELIBDIR%%/reverend/ui/trainer.pyc
+%%PYTHON_SITELIBDIR%%/reverend/ui/trainer.pyo
+%%PYTHON_SITELIBDIR%%/reverend/ui/util.py
+%%PYTHON_SITELIBDIR%%/reverend/ui/util.pyc
+%%PYTHON_SITELIBDIR%%/reverend/ui/util.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/emailtrainer.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/readme.txt
+@dirrm %%PYTHON_SITELIBDIR%%/reverend/guessers
+@dirrm %%PYTHON_SITELIBDIR%%/reverend/ui
+@dirrm %%PYTHON_SITELIBDIR%%/reverend
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%