c423c00a1a
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.
20 lines
565 B
Makefile
20 lines
565 B
Makefile
# $NetBSD: Makefile,v 1.1 2015/10/07 12:33:16 adam Exp $
|
|
|
|
DISTNAME= uthash-1.9.9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=troydhanson/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://troydhanson.github.io/uthash/
|
|
COMMENT= Hash table, implemented in C
|
|
LICENSE= 2-clause-bsd
|
|
|
|
NO_BUILD= yes
|
|
INSTALLATION_DIRS+= include share/doc/uthash
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/uthash
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|