1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update to the latest snapshot from googlecode as of 13.01.2015.

This commit is contained in:
Dmitry Sivachenko 2015-01-13 14:41:18 +00:00
parent f4eadc3c18
commit 5d69febce2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376945
4 changed files with 30 additions and 29 deletions

View File

@ -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>

View File

@ -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

View File

@ -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/

View File

@ -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