1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add google-sparsehash.

An extremely memory-efficient hash_map implementation. 2 bits/entry overhead!
The Google SparseHash project contains several hash-map implementations in use
at Google, with different performance characteristics, including an
implementation that optimizes for space and one that optimizes for speed.

WWW: http://goog-sparsehash.sf.net

PR:		ports/82696
Submitted by:	Vasil Dimov <vd@datamax.bg>
This commit is contained in:
Jean-Yves Lefort 2005-06-28 01:17:21 +00:00
parent 2917895ed9
commit 61bb11016d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138085
5 changed files with 73 additions and 0 deletions

View File

@ -328,6 +328,7 @@
SUBDIR += gnustep-make
SUBDIR += gob2
SUBDIR += gonzui
SUBDIR += google-sparsehash
SUBDIR += gorm
SUBDIR += gperf
SUBDIR += gputils

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: google-sparsehash
# Date created: 23 June 2005
# Whom: Vasil Dimov <vd@datamax.bg>
#
# $FreeBSD$
#
PORTNAME= google-sparsehash
PORTVERSION= 0.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= goog-sparsehash
DISTNAME= sparsehash-${PORTVERSION}
MAINTAINER= vd@datamax.bg
COMMENT= Google's hashtable implementations optimized for space or speed
GNU_CONFIGURE= yes
USE_REINPLACE= yes
post-patch:
.if !defined(NOPORTDOCS)
@${REINPLACE_CMD} -e \
's|$$(prefix)/doc/$$(PACKAGE)-$$(VERSION)|${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.else
@${REINPLACE_CMD} -e \
'/install-data-am/ s|install-dist_docDATA||' \
${WRKSRC}/Makefile.in
.endif
tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (sparsehash-0.2.tar.gz) = a2b2a31886efe6e56bad8b2419609fff
SIZE (sparsehash-0.2.tar.gz) = 227427

View File

@ -0,0 +1,9 @@
An extremely memory-efficient hash_map implementation. 2 bits/entry overhead!
The Google SparseHash project contains several hash-map implementations in use
at Google, with different performance characteristics, including an
implementation that optimizes for space and one that optimizes for speed.
WWW: http://goog-sparsehash.sf.net
- Vasil Dimov
vd@datamax.bg

View File

@ -0,0 +1,26 @@
include/google/dense_hash_map
include/google/dense_hash_set
include/google/sparse_hash_map
include/google/sparse_hash_set
include/google/sparsehash/config.h
include/google/sparsehash/densehashtable.h
include/google/sparsehash/hash_fun.h
include/google/sparsehash/sparsehashtable.h
include/google/sparsetable
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/dense_hash_map.html
%%PORTDOCS%%%%DOCSDIR%%/dense_hash_set.html
%%PORTDOCS%%%%DOCSDIR%%/implementation.html
%%PORTDOCS%%%%DOCSDIR%%/performance.html
%%PORTDOCS%%%%DOCSDIR%%/sparse_hash_map.html
%%PORTDOCS%%%%DOCSDIR%%/sparse_hash_set.html
%%PORTDOCS%%%%DOCSDIR%%/sparsetable.html
@dirrm include/google/sparsehash
@dirrm include/google
%%PORTDOCS%%@dirrm %%DOCSDIR%%