ports/devel/genht/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

36 lines
754 B
Makefile

PORTNAME= genht
DISTVERSION= 1.1.3
CATEGORIES= devel
MASTER_SITES= http://www.repo.hu/projects/genht/releases/
MAINTAINER= fuz@FreeBSD.org
COMMENT= Simple generic hash table implementation in C
WWW= http://www.repo.hu/projects/genht/
LICENSE= PD
USES= tar:bz2
USE_LDCONFIG= yes
MAKE_ARGS+= GENHT_CFLAGS='${CFLAGS}' \
GENHT_LDFLAGS='${STRIP} ${LDFLAGS}' \
PREFIX=${PREFIX}
PORTEXAMPLES= Makefile example.c examplev.c
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>