aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-01-22 04:18:52 +0800
committerbapt <bapt@FreeBSD.org>2012-01-22 04:18:52 +0800
commit34ad6b35a7c74beba3801fdec6e2273895dccb6d (patch)
tree58b0cb26daff4650d80b9e565c9e0c3174f1473f /textproc
parent60dad356b751bd1b7dd6be544439f0960b5acd01 (diff)
downloadfreebsd-ports-gnome-34ad6b35a7c74beba3801fdec6e2273895dccb6d.tar.gz
freebsd-ports-gnome-34ad6b35a7c74beba3801fdec6e2273895dccb6d.tar.zst
freebsd-ports-gnome-34ad6b35a7c74beba3801fdec6e2273895dccb6d.zip
Add libexttextcat 3.2.0, language guessing by N-Gram-Based Text
Categorization. libexttextcat is a fork of textproc/libtextcat and though conflict with it, it is a dependency of upcoming libreoffice 3.5.0
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libexttextcat/Makefile25
-rw-r--r--textproc/libexttextcat/distinfo2
-rw-r--r--textproc/libexttextcat/pkg-descr5
-rw-r--r--textproc/libexttextcat/pkg-plist16
5 files changed, 49 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index f74350564242..dd27929ff85c 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -351,6 +351,7 @@
SUBDIR += libcue
SUBDIR += libebml
SUBDIR += libextractor
+ SUBDIR += libexttextcat
SUBDIR += libkmfl
SUBDIR += liblinebreak
SUBDIR += liblingoteach
diff --git a/textproc/libexttextcat/Makefile b/textproc/libexttextcat/Makefile
new file mode 100644
index 000000000000..9ebc64e1a5f0
--- /dev/null
+++ b/textproc/libexttextcat/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: libexttextcat
+# Date created: 2012-01-21
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libexttextcat
+PORTVERSION= 3.2.0
+CATEGORIES= textproc
+MASTER_SITES= http://dev-www.libreoffice.org/src/libexttextcat/
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Language guessing by N-Gram-Based Text Categorization
+
+LICENSE= BSD
+
+CONFLICTS_INSTALL= libtextcat*
+
+USE_XZ= yes
+GNU_CONFIGURE= yes
+USE_GNOME= gnomehack
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/libexttextcat/distinfo b/textproc/libexttextcat/distinfo
new file mode 100644
index 000000000000..105184bc088e
--- /dev/null
+++ b/textproc/libexttextcat/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libexttextcat-3.2.0.tar.xz) = 5fce7471ff644500f2ffd72e4ade0fc0d19f810d69cbe59245edb2d4cc51e105
+SIZE (libexttextcat-3.2.0.tar.xz) = 864460
diff --git a/textproc/libexttextcat/pkg-descr b/textproc/libexttextcat/pkg-descr
new file mode 100644
index 000000000000..bebcbb5ceebb
--- /dev/null
+++ b/textproc/libexttextcat/pkg-descr
@@ -0,0 +1,5 @@
+N-Gram-Based Text Categorization library to guess the language that input text
+is written in. Fundamentally an adaption of of wiseguys libtextcat extended to
+be UTF-8 aware.
+
+WWW: http://cgit.freedesktop.org/libreoffice/libexttextcat/plain/README
diff --git a/textproc/libexttextcat/pkg-plist b/textproc/libexttextcat/pkg-plist
new file mode 100644
index 000000000000..ad8caeb247d5
--- /dev/null
+++ b/textproc/libexttextcat/pkg-plist
@@ -0,0 +1,16 @@
+%%DATADIR%%/fpdb.conf
+bin/createfp
+include/libexttextcat/common.h
+include/libexttextcat/constants.h
+include/libexttextcat/exttextcat-version.h
+include/libexttextcat/fingerprint.h
+include/libexttextcat/textcat.h
+include/libexttextcat/utf8misc.h
+lib/libexttextcat.a
+lib/libexttextcat.la
+lib/libexttextcat.so
+lib/libexttextcat.so.0
+libdata/pkgconfig/libexttextcat.pc
+@dirrmtry lib/pkgconfig
+@dirrmtry include/libexttextcat
+@dirrmtry %%DATADIR%%