summaryrefslogtreecommitdiff
path: root/textproc/json-c/Makefile
blob: 8307384b4a56076b0c8ffa0d02b268b3ec9f46b3 (plain)
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
# $NetBSD: Makefile,v 1.2 2012/10/26 20:16:44 joerg Exp $
#

DISTNAME=	json-c-0.10
CATEGORIES=	textproc
MASTER_SITES=	https://github.com/downloads/json-c/json-c/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://github.com/json-c/json-c/wiki
COMMENT=	JSON library in C
LICENSE=	mit

# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING=	curl

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

PKGCONFIG_OVERRIDE+=	json.pc.in

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+=	-Wno-tautological-compare -Wno-unused-value
.endif

.include "../../mk/bsd.pkg.mk"