diff options
author | demon <demon@FreeBSD.org> | 2015-05-10 15:52:35 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2015-05-10 15:52:35 +0800 |
commit | 1bcb09e55cd0da60a59cb78c2da7b8b57d1c6493 (patch) | |
tree | cdfb4009f8f98e01f4c238ce64606ab339184a62 /devel/cld | |
parent | b0126a13768b886ca6606dc9d54e286fbc94f939 (diff) | |
download | freebsd-ports-gnome-1bcb09e55cd0da60a59cb78c2da7b8b57d1c6493.tar.gz freebsd-ports-gnome-1bcb09e55cd0da60a59cb78c2da7b8b57d1c6493.tar.zst freebsd-ports-gnome-1bcb09e55cd0da60a59cb78c2da7b8b57d1c6493.zip |
Restore older version of CLD (aka CLD 1): pecl-cld still needs it.
Requested by: Gasol Wu <gasol.wu@gmail.com> (pecl-cld port maintainer)
Diffstat (limited to 'devel/cld')
-rw-r--r-- | devel/cld/Makefile | 19 | ||||
-rw-r--r-- | devel/cld/distinfo | 2 | ||||
-rw-r--r-- | devel/cld/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | devel/cld/pkg-descr | 9 | ||||
-rw-r--r-- | devel/cld/pkg-plist | 18 |
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/cld/Makefile b/devel/cld/Makefile new file mode 100644 index 000000000000..5e30a4b85dd8 --- /dev/null +++ b/devel/cld/Makefile @@ -0,0 +1,19 @@ +# Created by: Dmitry Sivachenko <demon@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= cld +PORTVERSION= 0.1 +PORTREVISION= 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 + +USES= libtool +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..024d1b86bcbb --- /dev/null +++ b/devel/cld/pkg-descr @@ -0,0 +1,9 @@ +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. + +You most likely need devel/cld2 port: version 2 of CLD. This port is here +only to for pecl-cld until it support CLD version 2. + +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..c903660b8b8d --- /dev/null +++ b/devel/cld/pkg-plist @@ -0,0 +1,18 @@ +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.so +lib/libcld.so.0 +lib/libcld.so.0.0.0 +libdata/pkgconfig/cld.pc |