pkgsrc/devel/uthash/Makefile
fcambus b09bb8fe2f uthash: update to 2.3.0.
Version 2.3.0 (2021-02-25)
--------------------------
* remove HASH_FCN; the HASH_FUNCTION and HASH_KEYCMP macros now behave similarly
* remove uthash_memcmp (deprecated in v2.1.0) in favor of HASH_KEYCMP
* silence -Wswitch-default warnings (thanks, Olaf Bergmann!)
2021-03-11 15:31:24 +00:00

20 lines
569 B
Makefile

# $NetBSD: Makefile,v 1.5 2021/03/11 15:31:24 fcambus Exp $
DISTNAME= uthash-2.3.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=troydhanson/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://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"