Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 14:41:19 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376945 - head/devel/cld
Message-ID:  <201501131441.t0DEfJxi036301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Tue Jan 13 14:41:18 2015
New Revision: 376945
URL: https://svnweb.freebsd.org/changeset/ports/376945
QAT: https://qat.redports.org/buildarchive/r376945/

Log:
  Update to the latest snapshot from googlecode as of 13.01.2015.

Modified:
  head/devel/cld/Makefile
  head/devel/cld/distinfo
  head/devel/cld/pkg-descr
  head/devel/cld/pkg-plist

Modified: head/devel/cld/Makefile
==============================================================================
--- head/devel/cld/Makefile	Tue Jan 13 14:40:05 2015	(r376944)
+++ head/devel/cld/Makefile	Tue Jan 13 14:41:18 2015	(r376945)
@@ -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>

Modified: head/devel/cld/distinfo
==============================================================================
--- head/devel/cld/distinfo	Tue Jan 13 14:40:05 2015	(r376944)
+++ head/devel/cld/distinfo	Tue Jan 13 14:41:18 2015	(r376945)
@@ -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

Modified: head/devel/cld/pkg-descr
==============================================================================
--- head/devel/cld/pkg-descr	Tue Jan 13 14:40:05 2015	(r376944)
+++ head/devel/cld/pkg-descr	Tue Jan 13 14:41:18 2015	(r376945)
@@ -3,4 +3,4 @@ Google's Chromium browser.  The library 
 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/

Modified: head/devel/cld/pkg-plist
==============================================================================
--- head/devel/cld/pkg-plist	Tue Jan 13 14:40:05 2015	(r376944)
+++ head/devel/cld/pkg-plist	Tue Jan 13 14:41:18 2015	(r376945)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501131441.t0DEfJxi036301>