diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-07 12:11:14 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-08-07 12:11:14 +0000 |
commit | fba2f87a8c1b39c41d99dced1ffb8d829d2c2ec7 (patch) | |
tree | f26e6cf4cdbc9da6baad8b129d827f23320e5706 /textproc/soothsayer | |
parent | 0041dc47f932d3667929d644c5ffcf93e924f0ee (diff) | |
download | ports-fba2f87a8c1b39c41d99dced1ffb8d829d2c2ec7.tar.gz ports-fba2f87a8c1b39c41d99dced1ffb8d829d2c2ec7.zip |
Notes
Diffstat (limited to 'textproc/soothsayer')
-rw-r--r-- | textproc/soothsayer/Makefile | 33 | ||||
-rw-r--r-- | textproc/soothsayer/distinfo | 3 | ||||
-rw-r--r-- | textproc/soothsayer/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/soothsayer/pkg-plist | 15 |
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 |