summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-08-07 12:11:14 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-08-07 12:11:14 +0000
commitfba2f87a8c1b39c41d99dced1ffb8d829d2c2ec7 (patch)
treef26e6cf4cdbc9da6baad8b129d827f23320e5706
parent- Update to 4.0_RC5 (diff)
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/
-rw-r--r--textproc/Makefile1
-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
5 files changed, 66 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 349fb222ff5d..0b674651e259 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -915,6 +915,7 @@
SUBDIR += slides
SUBDIR += smartdoc
SUBDIR += smartdoc-devel
+ SUBDIR += soothsayer
SUBDIR += source-highlight
SUBDIR += sowing
SUBDIR += sp
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