diff options
author | demon <demon@FreeBSD.org> | 2015-01-13 22:41:18 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2015-01-13 22:41:18 +0800 |
commit | 058c1d9dac94c6295a8c4198e72b75a8c7d3218a (patch) | |
tree | 45d8b60169f61ae9d17107ae6564bb2d2332d676 /devel/cld | |
parent | d273d5a533f6811e12e130a1dc35b9e6da7b583a (diff) | |
download | freebsd-ports-gnome-058c1d9dac94c6295a8c4198e72b75a8c7d3218a.tar.gz freebsd-ports-gnome-058c1d9dac94c6295a8c4198e72b75a8c7d3218a.tar.zst freebsd-ports-gnome-058c1d9dac94c6295a8c4198e72b75a8c7d3218a.zip |
Update to the latest snapshot from googlecode as of 13.01.2015.
Diffstat (limited to 'devel/cld')
-rw-r--r-- | devel/cld/Makefile | 27 | ||||
-rw-r--r-- | devel/cld/distinfo | 4 | ||||
-rw-r--r-- | devel/cld/pkg-descr | 2 | ||||
-rw-r--r-- | devel/cld/pkg-plist | 26 |
4 files changed, 30 insertions, 29 deletions
diff --git a/devel/cld/Makefile b/devel/cld/Makefile index 5e30a4b85dd8..4144a41c341e 100644 --- a/devel/cld/Makefile +++ b/devel/cld/Makefile @@ -2,18 +2,29 @@ # $FreeBSD$ PORTNAME= cld -PORTVERSION= 0.1 -PORTREVISION= 1 +PORTVERSION= 20150113 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} -PROJECTHOST= chromium-compact-language-detector -DISTNAME= compact-language-detector-${PORTVERSION} +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= demon +PKGNAMESUFFIX= 2 MAINTAINER= demon@FreeBSD.org -COMMENT= Chromium compact language detector library +COMMENT= Compact language detector library + +LICENSE= APACHE20 -USES= libtool -GNU_CONFIGURE= yes USE_LDCONFIG= yes +post-patch: + ${REINPLACE_CMD} -e "s#g++#${CXX} ${CXXFLAGS}#" ${WRKSRC}/internal/compile_libs.sh + +do-build: + cd ${WRKSRC}/internal && ./compile_libs.sh + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/include/cld/public ${STAGEDIR}${PREFIX}/include/cld/internal + ${INSTALL_DATA} ${WRKSRC}/public/encodings.h ${WRKSRC}/public/compact_lang_det.h ${STAGEDIR}${PREFIX}/include/cld/public/ + ${INSTALL_DATA} ${WRKSRC}/internal/lang_script.h ${WRKSRC}/internal/integral_types.h ${WRKSRC}/internal/generated_language.h ${WRKSRC}/internal/generated_ulscript.h ${STAGEDIR}${PREFIX}/include/cld/internal/ + ${INSTALL_LIB} ${WRKSRC}/internal/libcld2.so ${WRKSRC}/internal/libcld2_full.so ${STAGEDIR}${PREFIX}/lib/ + .include <bsd.port.mk> diff --git a/devel/cld/distinfo b/devel/cld/distinfo index dca0815b4848..5a1b6863b1a0 100644 --- a/devel/cld/distinfo +++ b/devel/cld/distinfo @@ -1,2 +1,2 @@ -SHA256 (compact-language-detector-0.1.tar.gz) = b1a3b430c0d39c8a8731d7291c30d896dd0f63c3fd093ec6ceb275bb760d1d5c -SIZE (compact-language-detector-0.1.tar.gz) = 2498722 +SHA256 (cld-20150113.tar.gz) = 1220fec46f6bcc700f6cfed27338c223ff9dbd248cc2d01459da68831a107fb2 +SIZE (cld-20150113.tar.gz) = 142392960 diff --git a/devel/cld/pkg-descr b/devel/cld/pkg-descr index b8a0124c42c0..4e7250f6d58f 100644 --- a/devel/cld/pkg-descr +++ b/devel/cld/pkg-descr @@ -3,4 +3,4 @@ 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/ +WWW: https://code.google.com/p/cld2/ diff --git a/devel/cld/pkg-plist b/devel/cld/pkg-plist index c903660b8b8d..269322566a95 100644 --- a/devel/cld/pkg-plist +++ b/devel/cld/pkg-plist @@ -1,18 +1,8 @@ -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 +include/cld/internal/generated_language.h +include/cld/internal/generated_ulscript.h +include/cld/internal/integral_types.h +include/cld/internal/lang_script.h +include/cld/public/compact_lang_det.h +include/cld/public/encodings.h +lib/libcld2.so +lib/libcld2_full.so |