aboutsummaryrefslogtreecommitdiff
path: root/devel/cld
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2013-02-08 11:43:14 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2013-02-08 11:43:14 +0000
commite35c497d2c0d2fce2c06b5ed1be75c0fd8f97335 (patch)
tree076572cf3827c8aef71c4b78690a83eb550bc38c /devel/cld
parentf02ae158abf3cf3b2345cc9fe7c811d16977542e (diff)
downloadports-e35c497d2c0d2fce2c06b5ed1be75c0fd8f97335.tar.gz
ports-e35c497d2c0d2fce2c06b5ed1be75c0fd8f97335.zip
Notes
Diffstat (limited to 'devel/cld')
-rw-r--r--devel/cld/Makefile17
-rw-r--r--devel/cld/distinfo2
-rw-r--r--devel/cld/files/patch-Makefile.in11
-rw-r--r--devel/cld/pkg-descr6
-rw-r--r--devel/cld/pkg-plist28
5 files changed, 64 insertions, 0 deletions
diff --git a/devel/cld/Makefile b/devel/cld/Makefile
new file mode 100644
index 000000000000..bb06c96136c9
--- /dev/null
+++ b/devel/cld/Makefile
@@ -0,0 +1,17 @@
+# 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>
diff --git a/devel/cld/distinfo b/devel/cld/distinfo
new file mode 100644
index 000000000000..dca0815b4848
--- /dev/null
+++ b/devel/cld/distinfo
@@ -0,0 +1,2 @@
+SHA256 (compact-language-detector-0.1.tar.gz) = b1a3b430c0d39c8a8731d7291c30d896dd0f63c3fd093ec6ceb275bb760d1d5c
+SIZE (compact-language-detector-0.1.tar.gz) = 2498722
diff --git a/devel/cld/files/patch-Makefile.in b/devel/cld/files/patch-Makefile.in
new file mode 100644
index 000000000000..54ccb25d3469
--- /dev/null
+++ b/devel/cld/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- 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
diff --git a/devel/cld/pkg-descr b/devel/cld/pkg-descr
new file mode 100644
index 000000000000..b8a0124c42c0
--- /dev/null
+++ b/devel/cld/pkg-descr
@@ -0,0 +1,6 @@
+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/
diff --git a/devel/cld/pkg-plist b/devel/cld/pkg-plist
new file mode 100644
index 000000000000..11c6466db707
--- /dev/null
+++ b/devel/cld/pkg-plist
@@ -0,0 +1,28 @@
+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