Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Aug 2014 14:43:10 +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: r366625 - in head/textproc: . randlm randlm/files
Message-ID:  <201408301443.s7UEhA2K071049@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <demon@FreeBSD.org>
+# $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 <bsd.port.mk>

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 <cstdlib>
+ #include <cstring>
+ #include <stdint.h>
++#include <unistd.h>
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+ 
+ #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



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