aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2010-05-31 21:01:23 +0800
committerdemon <demon@FreeBSD.org>2010-05-31 21:01:23 +0800
commitd1daa2dbe5829e46ed1cbfafa0a8b18bc9673736 (patch)
tree8ad29a1b3155aabb1b98422c2ac247bd00214fc4 /textproc
parentb1490af9a4f3e57256616cf5e80ff15b10caeadf (diff)
downloadfreebsd-ports-gnome-d1daa2dbe5829e46ed1cbfafa0a8b18bc9673736.tar.gz
freebsd-ports-gnome-d1daa2dbe5829e46ed1cbfafa0a8b18bc9673736.tar.zst
freebsd-ports-gnome-d1daa2dbe5829e46ed1cbfafa0a8b18bc9673736.zip
New port: irstlm.
The IRST Language Modeling Toolkit features algorithms and data structures suitable to estimate, store, and access very large LMs.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/irstlm/Makefile27
-rw-r--r--textproc/irstlm/distinfo3
-rw-r--r--textproc/irstlm/pkg-descr4
-rw-r--r--textproc/irstlm/pkg-plist28
5 files changed, 63 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index fd44fdd6d74b..d2c57b2a8268 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -270,6 +270,7 @@
SUBDIR += info_to_html
SUBDIR += intltool
SUBDIR += ipdf
+ SUBDIR += irstlm
SUBDIR += is-aspell
SUBDIR += iso12083
SUBDIR += iso8879
diff --git a/textproc/irstlm/Makefile b/textproc/irstlm/Makefile
new file mode 100644
index 000000000000..d802ac3d5f1a
--- /dev/null
+++ b/textproc/irstlm/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: irstlm
+# Date created: 31 May 2010
+# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= irstlm
+PORTVERSION= 5.40.01
+CATEGORIES= textproc
+MASTER_SITES= http://hlt.fbk.eu/sites/hlt.fbk.eu/files/irstlm/
+
+MAINTAINER= demon@FreeBSD.org
+COMMENT= The IRST Language Modeling Toolkit
+
+USE_ZIP= yes
+GNU_CONFIGURE= yes
+
+do-install:
+.for f in dict ngt compile_lm interpolate_lm prune_lm quantize_lm tlm
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/$f ${PREFIX}/bin/
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/src/libirstlm.a ${PREFIX}/lib/
+ ${RANLIB} ${PREFIX}/lib/libirstlm.a
+ ${INSTALL_DATA} ${WRKSRC}/src/*.h ${PREFIX}/include/
+
+.include <bsd.port.mk>
diff --git a/textproc/irstlm/distinfo b/textproc/irstlm/distinfo
new file mode 100644
index 000000000000..62e9d68e8374
--- /dev/null
+++ b/textproc/irstlm/distinfo
@@ -0,0 +1,3 @@
+MD5 (irstlm-5.40.01.zip) = 9255d952ece194df81787e68d786da32
+SHA256 (irstlm-5.40.01.zip) = 6d36897ebea12aac7ce670f5f5523acf6435a80c4c38601dc4facbdf15564a86
+SIZE (irstlm-5.40.01.zip) = 1250516
diff --git a/textproc/irstlm/pkg-descr b/textproc/irstlm/pkg-descr
new file mode 100644
index 000000000000..4e5bdf97d546
--- /dev/null
+++ b/textproc/irstlm/pkg-descr
@@ -0,0 +1,4 @@
+The IRST Language Modeling Toolkit features algorithms and data structures
+suitable to estimate, store, and access very large LMs.
+
+WWW: http://hlt.fbk.eu/en/irstlm
diff --git a/textproc/irstlm/pkg-plist b/textproc/irstlm/pkg-plist
new file mode 100644
index 000000000000..80d105c3256a
--- /dev/null
+++ b/textproc/irstlm/pkg-plist
@@ -0,0 +1,28 @@
+bin/dict
+bin/ngt
+bin/compile_lm
+bin/interpolate_lm
+bin/prune_lm
+bin/quantize_lm
+bin/tlm
+lib/libirstlm.a
+include/cmd.h
+include/dictionary.h
+include/gzfilebuf.h
+include/htable.h
+include/index.h
+include/interplm.h
+include/linearlm.h
+include/lmmacro.h
+include/lmtable.h
+include/mdiadapt.h
+include/mempool.h
+include/mfstream.h
+include/mixture.h
+include/n_gram.h
+include/ngramcache.h
+include/ngrampool.h
+include/ngramtable.h
+include/normcache.h
+include/shiftlm.h
+include/util.h