Commit e9d843fd authored by demon's avatar demon
Browse files

A port from the CLD (Compact Language Detector) library embedded in

Google's Chromium browser.  The library detects the language from
provided UTF8 text (plain text or HTML).

https://code.google.com/p/chromium-compact-language-detector/
parent 60b8888e
......@@ -229,6 +229,7 @@
SUBDIR += clanlib
SUBDIR += clanlib1
SUBDIR += clanlib22
SUBDIR += cld
SUBDIR += clewn
SUBDIR += clig
SUBDIR += clint
......
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= cld
PORTVERSION= 0.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= chromium-compact-language-detector
DISTNAME= compact-language-detector-${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Chromium compact language detector library
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.mk>
SHA256 (compact-language-detector-0.1.tar.gz) = b1a3b430c0d39c8a8731d7291c30d896dd0f63c3fd093ec6ceb275bb760d1d5c
SIZE (compact-language-detector-0.1.tar.gz) = 2498722
--- Makefile.in.orig 2012-05-23 14:35:00.000000000 +0400
+++ Makefile.in 2013-02-08 15:37:27.000000000 +0400
@@ -282,7 +282,7 @@
# autogen.sh and cleanrepo.sh are script for maintainance use. Not for distribution.
# dist_noinst_SCRIPTS = autogen.sh
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = ${exec_prefix}/libdata/pkgconfig
pkgconfig_DATA = cld.pc
basic_test_SOURCES = tests/basic_test.cc
basic_test_CXXFLAGS = -Wall -fPIC -Isrc/ -I../src -O2 -DCLD_WINDOWS
A port from the CLD (Compact Language Detector) library embedded in
Google's Chromium browser. The library detects the language from
provided UTF8 text (plain text or HTML). It's implemented in C++,
with very basic Python bindings.
WWW: https://code.google.com/p/chromium-compact-language-detector/
include/cld/base/basictypes.h
include/cld/base/build_config.h
include/cld/base/port.h
include/cld/base/string_util.h
include/cld/compact_lang_det.h
include/cld/encodings/compact_lang_det/letterscript_enum.h
include/cld/encodings/compact_lang_det/win/cld_basictypes.h
include/cld/encodings/compact_lang_det/win/cld_utf8statetable.h
include/cld/encodings/proto/encodings.pb.h
include/cld/encodings/public/encodings.h
include/cld/ext_lang_enc.h
include/cld/lang_enc.h
include/cld/languages/proto/languages.pb.h
include/cld/languages/public/languages.h
lib/libcld.la
lib/libcld.so
lib/libcld.so.0
libdata/pkgconfig/cld.pc
@dirrm include/cld/languages/public
@dirrm include/cld/languages/proto
@dirrm include/cld/languages
@dirrm include/cld/encodings/public
@dirrm include/cld/encodings/proto
@dirrm include/cld/encodings/compact_lang_det/win
@dirrm include/cld/encodings/compact_lang_det
@dirrm include/cld/encodings
@dirrm include/cld/base
@dirrm include/cld
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment