aboutsummaryrefslogtreecommitdiff
path: root/devel/genht/Makefile
blob: 33663e0e64640e6aa083b5e95922a38bc2c7ef28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	genht
DISTVERSION=	1.1.3
CATEGORIES=	devel
MASTER_SITES=	http://www.repo.hu/projects/genht/releases/

MAINTAINER=	fuz@fuz.su
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

post-install-EXAMPLES-on:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${EXAMPLESDIR}
.endfor

.include <bsd.port.mk>