mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
39 lines
912 B
Makefile
39 lines
912 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= uthash
|
|
PORTVERSION= 2.0.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= zi@FreeBSD.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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_BUILD= yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= troydhanson
|
|
|
|
PORTDOCS= ChangeLog.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>
|