New port: devel/uthash
This is a hash table, implemented in C, supporting constant-time add/find/remove of C structures. Any structure having a unique, arbitrarily-typed key member can be hashed by adding a UT_hash_handle member to the structure and calling these macros. WWW: http://uthash.sourceforge.net/
This commit is contained in:
parent
ea6361c245
commit
57f9d384d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296093
4 changed files with 50 additions and 0 deletions
|
@ -4005,6 +4005,7 @@
|
|||
SUBDIR += upslug
|
||||
SUBDIR += urjtag
|
||||
SUBDIR += ustl
|
||||
SUBDIR += uthash
|
||||
SUBDIR += valgrind
|
||||
SUBDIR += valgrind-snapshot
|
||||
SUBDIR += valide
|
||||
|
|
41
devel/uthash/Makefile
Normal file
41
devel/uthash/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# New ports collection makefile for: uthash
|
||||
# Date created: 06 May 2012
|
||||
# Whom: Ryan Steinmetz <zi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= uthash
|
||||
PORTVERSION= 1.9.6
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= zi@FreeBSD.org
|
||||
COMMENT= A hash table for C structures
|
||||
|
||||
LICENSE= BSD
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_BZIP2= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PORTDOCS= ChangeLog.txt sflogo.txt toc.txt topnav.txt topnav_utarray.txt \
|
||||
topnav_utlist.txt topnav_utstring.txt userguide.txt utarray.txt \
|
||||
utlist.txt utstring.txt
|
||||
PLIST_FILES= include/utarray.h include/uthash.h include/utlist.h \
|
||||
include/utstring.h
|
||||
|
||||
do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/utarray.h ${PREFIX}/include/
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/uthash.h ${PREFIX}/include/
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/utlist.h ${PREFIX}/include/
|
||||
@${INSTALL_DATA} ${WRKSRC}/src/utstring.h ${PREFIX}/include/
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc/txt/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/uthash/distinfo
Normal file
2
devel/uthash/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (uthash-1.9.6.tar.bz2) = 16676465919c14eb8f0207f884e6efc95fbc60d2a990737f390a237a7ebe60f3
|
||||
SIZE (uthash-1.9.6.tar.bz2) = 362435
|
6
devel/uthash/pkg-descr
Normal file
6
devel/uthash/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
This is a hash table, implemented in C, supporting constant-time
|
||||
add/find/remove of C structures. Any structure having a unique,
|
||||
arbitrarily-typed key member can be hashed by adding a UT_hash_handle
|
||||
member to the structure and calling these macros.
|
||||
|
||||
WWW: http://uthash.sourceforge.net/
|
Loading…
Reference in a new issue