diff options
author | wiz <wiz@pkgsrc.org> | 2012-03-16 17:30:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-03-16 17:30:16 +0000 |
commit | 52c13ded6867e7bb84ffd1b253c6c02bccabd2dd (patch) | |
tree | 057fbd2f7973c20d774a2ee2f9cdd9c7f5b36a27 /textproc | |
parent | b1973affd6eef884d4552404a5100f66777fac12 (diff) | |
download | pkgsrc-52c13ded6867e7bb84ffd1b253c6c02bccabd2dd.tar.gz |
Initial import of libexttextcat-3.2 from wip, packaged by Francois Tigeot.
Libexttextcat is a library with functions that implement the
classification technique described in Cavnar & Trenkle, "N-Gram-Based
Text Categorization" . It was primarily developed for language
guessing, a task on which it is known to perform with near-perfect
accuracy.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libexttextcat/DESCR | 5 | ||||
-rw-r--r-- | textproc/libexttextcat/Makefile | 22 | ||||
-rw-r--r-- | textproc/libexttextcat/PLIST | 11 | ||||
-rw-r--r-- | textproc/libexttextcat/buildlink3.mk | 11 | ||||
-rw-r--r-- | textproc/libexttextcat/distinfo | 5 |
5 files changed, 54 insertions, 0 deletions
diff --git a/textproc/libexttextcat/DESCR b/textproc/libexttextcat/DESCR new file mode 100644 index 00000000000..d324025531f --- /dev/null +++ b/textproc/libexttextcat/DESCR @@ -0,0 +1,5 @@ +Libexttextcat is a library with functions that implement the +classification technique described in Cavnar & Trenkle, "N-Gram-Based +Text Categorization" . It was primarily developed for language +guessing, a task on which it is known to perform with near-perfect +accuracy. diff --git a/textproc/libexttextcat/Makefile b/textproc/libexttextcat/Makefile new file mode 100644 index 00000000000..79bd245da5c --- /dev/null +++ b/textproc/libexttextcat/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/03/16 17:30:16 wiz Exp $ + +DISTNAME= libexttextcat-3.2.0 +CATEGORIES= textproc +MASTER_SITES= http://dev-www.libreoffice.org/src/libexttextcat/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= ftigeot@wolfpond.org +HOMEPAGE= http://cgit.freedesktop.org/libreoffice/libexttextcat/ +COMMENT= Text categorization library +LICENSE= modified-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +CONFLICTS+= libtextcat-[0-9]* + +PKGCONFIG_OVERRIDE= libexttextcat.pc.in + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/libexttextcat/PLIST b/textproc/libexttextcat/PLIST new file mode 100644 index 00000000000..cbc0be5a027 --- /dev/null +++ b/textproc/libexttextcat/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/16 17:30:16 wiz Exp $ +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.la +lib/pkgconfig/libexttextcat.pc +share/libexttextcat/fpdb.conf diff --git a/textproc/libexttextcat/buildlink3.mk b/textproc/libexttextcat/buildlink3.mk new file mode 100644 index 00000000000..85a207e921b --- /dev/null +++ b/textproc/libexttextcat/buildlink3.mk @@ -0,0 +1,11 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/03/16 17:30:16 wiz Exp $ + +BUILDLINK_TREE+= libexttextcat + +.if !defined(LIBEXTTEXTCAT_BUILDLINK3_MK) +LIBEXTTEXTCAT_BUILDLINK3_MK:= +BUILDLINK_API_DEPENDS.libexttextcat+= libexttextcat>=3.2 +BUILDLINK_PKGSRCDIR.libexttextcat?= ../../textproc/libexttextcat +.endif + +BUILDLINK_TREE+= -libexttextcat diff --git a/textproc/libexttextcat/distinfo b/textproc/libexttextcat/distinfo new file mode 100644 index 00000000000..c3a8c377010 --- /dev/null +++ b/textproc/libexttextcat/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/03/16 17:30:16 wiz Exp $ + +SHA1 (libexttextcat-3.2.0.tar.xz) = dbecb30743aa0fe03e2fc16bc5a65e908893a73a +RMD160 (libexttextcat-3.2.0.tar.xz) = 9ec148e6b04597b95f5a25f8a70d07a59decce96 +Size (libexttextcat-3.2.0.tar.xz) = 864460 bytes |