From owner-svn-ports-all@FreeBSD.ORG Sat Aug 30 14:43:11 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0AC0F0E; Sat, 30 Aug 2014 14:43:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8BEC51236; Sat, 30 Aug 2014 14:43:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7UEhBsa071061; Sat, 30 Aug 2014 14:43:11 GMT (envelope-from demon@FreeBSD.org) Received: (from demon@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7UEhA2K071049; Sat, 30 Aug 2014 14:43:10 GMT (envelope-from demon@FreeBSD.org) Message-Id: <201408301443.s7UEhA2K071049@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: demon set sender to demon@FreeBSD.org using -f From: Dmitry Sivachenko Date: Sat, 30 Aug 2014 14:43:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366625 - in head/textproc: . randlm randlm/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2014 14:43:11 -0000 Author: demon Date: Sat Aug 30 14:43:09 2014 New Revision: 366625 URL: http://svnweb.freebsd.org/changeset/ports/366625 QAT: https://qat.redports.org/buildarchive/r366625/ Log: New port: randlm. A toolkit for bulding randomized language models. WWW: http://randlm.sourceforge.net/ Added: head/textproc/randlm/ head/textproc/randlm/Makefile (contents, props changed) head/textproc/randlm/distinfo (contents, props changed) head/textproc/randlm/files/ head/textproc/randlm/files/patch-src-LDHT-MurmurHash3.cpp (contents, props changed) head/textproc/randlm/files/patch-src-LDHT-Util.h (contents, props changed) head/textproc/randlm/pkg-descr (contents, props changed) head/textproc/randlm/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Aug 30 14:34:03 2014 (r366624) +++ head/textproc/Makefile Sat Aug 30 14:43:09 2014 (r366625) @@ -1241,6 +1241,7 @@ SUBDIR += qu-aspell SUBDIR += queequeg SUBDIR += rand + SUBDIR += randlm SUBDIR += rapidxml SUBDIR += raptor SUBDIR += raptor2 Added: head/textproc/randlm/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/randlm/Makefile Sat Aug 30 14:43:09 2014 (r366625) @@ -0,0 +1,30 @@ +# Created by: Dmitry Sivachenko +# $FreeBSD$ + +PORTNAME= randlm +PORTVERSION= 0.2.5 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=${PORTNAME} + +MAINTAINER= demon@FreeBSD.org +COMMENT= A toolkit for building randomized language models + +BUILD_DEPENDS= ${LOCALBASE}/include/google/sparse_hash_map:${PORTSDIR}/devel/google-sparsehash +LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs +RUN_DEPENDS= ${LOCALBASE}/include/google/sparse_hash_map:${PORTSDIR}/devel/google-sparsehash + +GNU_CONFIGURE= yes +USE_GCC= yes +USE_PERL5= run +USE_AUTOTOOLS= libtoolize aclocal autoconf automake +AUTOMAKE_ARGS= --add-missing +USE_LDCONFIG= yes +USES= libtool +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +post-patch: + cd ${WRKSRC}/hadoop && ${MV} strings.cpp strings.cc + +.include Added: head/textproc/randlm/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/randlm/distinfo Sat Aug 30 14:43:09 2014 (r366625) @@ -0,0 +1,2 @@ +SHA256 (randlm-0.2.5.tar.gz) = e22e6e969cc971341af1414bf27c8ec0b88796055e5a132c9d4a47b80a3594fa +SIZE (randlm-0.2.5.tar.gz) = 758741 Added: head/textproc/randlm/files/patch-src-LDHT-MurmurHash3.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/randlm/files/patch-src-LDHT-MurmurHash3.cpp Sat Aug 30 14:43:09 2014 (r366625) @@ -0,0 +1,11 @@ +--- ./src/LDHT/MurmurHash3.cpp.bak 2012-03-30 14:53:05.000000000 +0400 ++++ ./src/LDHT/MurmurHash3.cpp 2014-08-30 17:56:33.000000000 +0400 +@@ -29,7 +29,7 @@ + + #else // defined(_MSC_VER) + +-#define FORCE_INLINE __attribute__((always_inline)) ++#define FORCE_INLINE inline __attribute__((always_inline)) + + inline uint32_t rotl32 ( uint32_t x, int8_t r ) + { Added: head/textproc/randlm/files/patch-src-LDHT-Util.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/randlm/files/patch-src-LDHT-Util.h Sat Aug 30 14:43:09 2014 (r366625) @@ -0,0 +1,13 @@ +--- src/LDHT/Util.h.orig 2012-03-30 14:53:05.000000000 +0400 ++++ src/LDHT/Util.h 2014-08-30 18:08:50.000000000 +0400 +@@ -10,6 +10,10 @@ + #include + #include + #include ++#include ++#include ++#include ++#include + + #define V(expr) std::cerr << __FILE__ << ":" \ + << __LINE__ << " " \ Added: head/textproc/randlm/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/randlm/pkg-descr Sat Aug 30 14:43:09 2014 (r366625) @@ -0,0 +1,3 @@ +A toolkit for bulding randomized language models. + +WWW: http://randlm.sourceforge.net/ Added: head/textproc/randlm/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/randlm/pkg-plist Sat Aug 30 14:43:09 2014 (r366625) @@ -0,0 +1,85 @@ +bin/buildlm +bin/countngrams +bin/m_compute_ngram_counts_batch +bin/querylm +bin/r_compute_ngram_counts +include/LDHT/BitArray.h +include/LDHT/BloomFilter.h +include/LDHT/Client.h +include/LDHT/ClientLocal.h +include/LDHT/FactoryCollection.h +include/LDHT/HashFunction.h +include/LDHT/HashFunctionFactory.h +include/LDHT/HashFunctionUniversal.h +include/LDHT/Logic.h +include/LDHT/MethodRegistry.h +include/LDHT/MurmurHash3.h +include/LDHT/NewNgram.h +include/LDHT/Protocol.h +include/LDHT/ProtocolGroup.h +include/LDHT/ProtocolQueue.h +include/LDHT/Quantiser.h +include/LDHT/Server.h +include/LDHT/ServerLocator.h +include/LDHT/ServerLocatorHash.h +include/LDHT/TableChunk.h +include/LDHT/TableChunkFactory.h +include/LDHT/TableChunkLocator.h +include/LDHT/TableChunkLocatorFactory.h +include/LDHT/TableChunkLocatorHash.h +include/LDHT/TableChunkLossyDict.h +include/LDHT/TableDirectory.h +include/LDHT/TableProtocol.h +include/LDHT/TableProtocolLocalAdapter.h +include/LDHT/TableRange.h +include/LDHT/Thread.h +include/LDHT/Transport.h +include/LDHT/TransportPipe.h +include/LDHT/TransportTCP.h +include/LDHT/TypeDef.h +include/LDHT/Util.h +include/LDHT/VarIntStream.h +include/LDHT/ticpp.h +include/LDHT/ticpprc.h +include/LDHT/tinystr.h +include/LDHT/tinyxml.h +include/RandLM/BloomMap.h +include/RandLM/BloomierFilter.h +include/RandLM/CountMinSketch.h +include/RandLM/LogFreqBloomFilter.h +include/RandLM/LogFreqSketch.h +include/RandLM/LossyDict.h +include/RandLM/RandLM.h +include/RandLM/RandLMCache.h +include/RandLM/RandLMFile.h +include/RandLM/RandLMFilter.h +include/RandLM/RandLMHash.h +include/RandLM/RandLMHashCache.h +include/RandLM/RandLMInfo.h +include/RandLM/RandLMParams.h +include/RandLM/RandLMPipeline.h +include/RandLM/RandLMPipelineTool.h +include/RandLM/RandLMPreproc.h +include/RandLM/RandLMPreprocessor.h +include/RandLM/RandLMQuantiser.h +include/RandLM/RandLMStats.h +include/RandLM/RandLMStruct.h +include/RandLM/RandLMTool.h +include/RandLM/RandLMTypes.h +include/RandLM/RandLMUtils.h +include/RandLM/RandLMVocab.h +include/RandLM/fdstream.h +lib/libLDHT.a +lib/libLDHT.so +lib/libLDHT.so.0 +lib/libLDHT.so.0.0.0 +lib/libRandLM.a +lib/libRandLM.so +lib/libRandLM.so.0 +lib/libRandLM.so.0.0.0 +lib/libticpp.a +lib/libticpp.so +lib/libticpp.so.0 +lib/libticpp.so.0.0.0 +@dirrm include/LDHT +@dirrm include/RandLM