aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/soothsayer
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-07 20:11:14 +0800
committersat <sat@FreeBSD.org>2007-08-07 20:11:14 +0800
commite3153ae022299df188d06c2eecb38d7eac16971f (patch)
tree6abdb3b1774e3b5c3b140543cd9eb73a8f110f47 /textproc/soothsayer
parentd6df399e53ccc161f06965fb85c180b55c98c432 (diff)
downloadfreebsd-ports-gnome-e3153ae022299df188d06c2eecb38d7eac16971f.tar.gz
freebsd-ports-gnome-e3153ae022299df188d06c2eecb38d7eac16971f.tar.zst
freebsd-ports-gnome-e3153ae022299df188d06c2eecb38d7eac16971f.zip
Add port textproc/soothsayer:
Soothsayer is an intelligent predictive text entry platform. Soothsayer exploits redundant information embedded in natural languages to generate predictions. Soothsayer's modular and pluggable architecture allows its language model to be extended and customized to utilize statistical, syntactic, and semantic information sources. A predictive text entry system attempts to improve ease and speed of textual input. Word prediction consists in computing which word tokens or word completions are most likely to be entered next. The system analyses the text already entered and combines the information thus extracted with other information sources to calculate a set of most probable tokens. WWW: http://soothsayer.sourceforge.net/
Diffstat (limited to 'textproc/soothsayer')
-rw-r--r--textproc/soothsayer/Makefile33
-rw-r--r--textproc/soothsayer/distinfo3
-rw-r--r--textproc/soothsayer/pkg-descr14
-rw-r--r--textproc/soothsayer/pkg-plist15
4 files changed, 65 insertions, 0 deletions
diff --git a/textproc/soothsayer/Makefile b/textproc/soothsayer/Makefile
new file mode 100644
index 000000000000..a34c0921933f
--- /dev/null
+++ b/textproc/soothsayer/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: soothsayer
+# Date created: 7 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= soothsayer
+PORTVERSION= 0.4
+CATEGORIES= textproc
+MASTER_SITES= SF
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Intelligent predictive text entry platform
+
+USE_LDCONFIG= yes
+USE_SQLITE= 3
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-static --localstatedir=${PREFIX}/var/${PORTNAME}
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+PORT_VERBS= ${PORTNAME} text2ngram
+
+post-patch:
+ @${GREP} -rl 'sqlite.h' ${WRKSRC}/src|${XARGS} ${REINPLACE_CMD} -e\
+ 's|sqlite\.h|sqlite3.h|g'
+ @${REINPLACE_CMD} -e 's|\$$\^|$${.ALLSRC}|' ${WRKSRC}/resources/Makefile.in
+ @${REINPLACE_CMD} -e '1s|/.*|/bin/sh|'\
+ ${WRKSRC}/resources/profiles/generate_soothsayer_config.sh
+
+.include <bsd.port.mk>
diff --git a/textproc/soothsayer/distinfo b/textproc/soothsayer/distinfo
new file mode 100644
index 000000000000..96baaa86260c
--- /dev/null
+++ b/textproc/soothsayer/distinfo
@@ -0,0 +1,3 @@
+MD5 (soothsayer-0.4.tar.gz) = c092a64529e97b487b2b4d79e7e04c03
+SHA256 (soothsayer-0.4.tar.gz) = ef8a58b2fb41fc77b941b0bb21676a9b7f6f8fcc7d1f57857055d9dc210dadb4
+SIZE (soothsayer-0.4.tar.gz) = 1260196
diff --git a/textproc/soothsayer/pkg-descr b/textproc/soothsayer/pkg-descr
new file mode 100644
index 000000000000..6ad27f99ca7c
--- /dev/null
+++ b/textproc/soothsayer/pkg-descr
@@ -0,0 +1,14 @@
+Soothsayer is an intelligent predictive text entry platform. Soothsayer
+exploits redundant information embedded in natural languages to generate
+predictions. Soothsayer's modular and pluggable architecture allows its
+language model to be extended and customized to utilize statistical,
+syntactic, and semantic information sources.
+
+A predictive text entry system attempts to improve ease and speed of
+textual input. Word prediction consists in computing which word tokens
+or word completions are most likely to be entered next. The system
+analyses the text already entered and combines the information thus
+extracted with other information sources to calculate a set of most
+probable tokens.
+
+WWW: http://soothsayer.sourceforge.net/
diff --git a/textproc/soothsayer/pkg-plist b/textproc/soothsayer/pkg-plist
new file mode 100644
index 000000000000..5341ac461c5f
--- /dev/null
+++ b/textproc/soothsayer/pkg-plist
@@ -0,0 +1,15 @@
+bin/soothsayerDemo
+bin/soothsayerDemoText
+bin/soothsayerSimulator
+bin/text2ngram
+etc/soothsayer.xml
+include/soothsayer.h
+lib/libsoothsayer.la
+lib/libsoothsayer.so
+lib/libsoothsayer.so.0
+var/soothsayer/abbreviations_en.txt
+var/soothsayer/abbreviations_it.txt
+var/soothsayer/database_en.db
+var/soothsayer/database_it.db
+@dirrm var/soothsayer
+@dirrmtry var