import uthash 1.1
In scripting languages like Perl, hashes are used all the time. In C, hashes don't exist in the language itself. This software provides a hash for C structures. ok alek
This commit is contained in:
parent
16aa0f2ba9
commit
2057d3ae62
34
devel/uthash/Makefile
Normal file
34
devel/uthash/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/28 17:22:52 jasper Exp $
|
||||
|
||||
COMMENT= "C macros to add, find and delete items from a hash"
|
||||
|
||||
DISTNAME= uthash-1.1
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://uthash.sf.net/
|
||||
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=uthash/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
NO_BUILD= Yes
|
||||
PKG_ARCH= *
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/src/uthash.h ${PREFIX}/include
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/uthash.3 ${PREFIX}/man/man3
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uthash/img
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/html/*.{css,html} \
|
||||
${PREFIX}/share/doc/uthash
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/html/img/* ${PREFIX}/share/doc/uthash/img
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKSRC}/tests/ && ${MAKE} run_tests
|
||||
|
||||
.include <bsd.port.mk>
|
4
devel/uthash/distinfo
Normal file
4
devel/uthash/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (uthash-1.1.tar.bz2) = 509074ab17d3a89a49f5b4a659fe55d2
|
||||
RMD160 (uthash-1.1.tar.bz2) = 6f9a0c18f728ee255344fa772dbb19e4444c61fe
|
||||
SHA1 (uthash-1.1.tar.bz2) = 082e71508101de15dd65ec445c6ff28f78099b64
|
||||
SIZE (uthash-1.1.tar.bz2) = 69368
|
16
devel/uthash/patches/patch-tests_Makefile
Normal file
16
devel/uthash/patches/patch-tests_Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-tests_Makefile,v 1.1.1.1 2006/06/28 17:22:52 jasper Exp $
|
||||
--- tests/Makefile.orig Wed Jun 28 20:57:17 2006
|
||||
+++ tests/Makefile Wed Jun 28 20:57:38 2006
|
||||
@@ -3,11 +3,7 @@ FUNCS = BER SAX FNV OAT JEN JSW
|
||||
UTILS = bkt
|
||||
PROGS = test1 test2 test3 test4 test5 test6 test7 test8 test9 \
|
||||
test10 test11 test12 test13 test14 test15 test16
|
||||
-CFLAGS = -I$(HASHDIR) -g
|
||||
-
|
||||
-ifeq ($(HASH_DEBUG),1)
|
||||
-CFLAGS += -DHASH_DEBUG=1
|
||||
-endif
|
||||
+CFLAGS += -I$(HASHDIR) -g
|
||||
|
||||
all: $(PROGS) $(UTILS) $(FUNCS) run_tests
|
||||
|
3
devel/uthash/pkg/DESCR
Normal file
3
devel/uthash/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
In scripting languages like Perl, hashes are used all the time. In C,
|
||||
hashes don't exist in the language itself. This software provides a hash
|
||||
for C structures.
|
13
devel/uthash/pkg/PLIST
Normal file
13
devel/uthash/pkg/PLIST
Normal file
@ -0,0 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/28 17:22:52 jasper Exp $
|
||||
include/uthash.h
|
||||
@man man/man3/uthash.3
|
||||
share/doc/uthash/
|
||||
share/doc/uthash/img/
|
||||
share/doc/uthash/img/banner.png
|
||||
share/doc/uthash/img/banner.svg
|
||||
share/doc/uthash/img/grad_blue.png
|
||||
share/doc/uthash/img/grad_blue.svg
|
||||
share/doc/uthash/index.html
|
||||
share/doc/uthash/styles.css
|
||||
share/doc/uthash/userguide.html
|
||||
share/doc/uthash/uthash.3.html
|
Loading…
Reference in New Issue
Block a user