[Midnightbsd-cvs] mports [19365] trunk/devel: add uthash

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 6 20:22:36 EDT 2015


Revision: 19365
          http://svnweb.midnightbsd.org/mports/?rev=19365
Author:   laffer1
Date:     2015-06-06 20:22:36 -0400 (Sat, 06 Jun 2015)
Log Message:
-----------
add uthash

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/uthash/
    trunk/devel/uthash/Makefile
    trunk/devel/uthash/distinfo
    trunk/devel/uthash/pkg-descr

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2015-06-07 00:18:52 UTC (rev 19364)
+++ trunk/devel/Makefile	2015-06-07 00:22:36 UTC (rev 19365)
@@ -488,6 +488,7 @@
 SUBDIR += tradcpp
 SUBDIR += uclmmbase
 SUBDIR += upnp
+SUBDIR += uthash
 SUBDIR += viewvc
 SUBDIR += websvn
 SUBDIR += wizardkit

Added: trunk/devel/uthash/Makefile
===================================================================
--- trunk/devel/uthash/Makefile	                        (rev 0)
+++ trunk/devel/uthash/Makefile	2015-06-07 00:22:36 UTC (rev 19365)
@@ -0,0 +1,39 @@
+# $MidnightBSD$
+
+PORTNAME=	uthash
+PORTVERSION=	1.9.8p2
+CATEGORIES=	devel
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	hash table for C structures
+
+LICENSE=	BSD1CLAUSE
+LICENSE_NAME=	BSD 1-Clause License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+WRKSRC=		${WRKDIR}/uthash-${GH_TAGNAME}
+
+OPTIONS_DEFINE=	DOCS
+
+NO_BUILD=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	troydhanson
+GH_TAGNAME=	d10c46a
+
+PORTDOCS=	ChangeLog.txt todo.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 \
+		${WRKSRC}/src/uthash.h \
+		${WRKSRC}/src/utlist.h \
+		${WRKSRC}/src/utstring.h ${STAGEDIR}${PREFIX}/include/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+	@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/uthash/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/uthash/distinfo
===================================================================
--- trunk/devel/uthash/distinfo	                        (rev 0)
+++ trunk/devel/uthash/distinfo	2015-06-07 00:22:36 UTC (rev 19365)
@@ -0,0 +1,2 @@
+SHA256 (uthash-1.9.8p2_GH0.tar.gz) = f3f83dd7fea68e175f22d7313fa5283479cc59e7f53b80df83441eeb63b215e4
+SIZE (uthash-1.9.8p2_GH0.tar.gz) = 225228


Property changes on: trunk/devel/uthash/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/uthash/pkg-descr
===================================================================
--- trunk/devel/uthash/pkg-descr	                        (rev 0)
+++ trunk/devel/uthash/pkg-descr	2015-06-07 00:22:36 UTC (rev 19365)
@@ -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/


Property changes on: trunk/devel/uthash/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list