aboutsummaryrefslogtreecommitdiff
path: root/textproc/libexttextcat
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-01-21 20:18:52 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-01-21 20:18:52 +0000
commitdd9c79680123da9fae2c0cd487ea7cfd0bb15939 (patch)
treebc67c3634fd03573f960a9e60e4072ecd2901ac3 /textproc/libexttextcat
parentba1a5e5dee0ed816cc3842d9942096be9445b6f4 (diff)
downloadports-dd9c79680123da9fae2c0cd487ea7cfd0bb15939.tar.gz
ports-dd9c79680123da9fae2c0cd487ea7cfd0bb15939.zip
Notes
Diffstat (limited to 'textproc/libexttextcat')
-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
4 files changed, 48 insertions, 0 deletions
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%%