aboutsummaryrefslogtreecommitdiff
path: root/devel/libcjson/Makefile
blob: 51fdbf8a182503a922bba94f24c6feda406e9700 (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
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	libcjson
PORTVERSION=	1.7.15
DISTVERSIONPREFIX=	v
CATEGORIES=	devel

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Ultralightweight JSON parser in ANSI C

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c11

CMAKE_ON=	BUILD_SHARED_AND_STATIC_LIBS ENABLE_CJSON_UTILS ENABLE_TARGET_EXPORT
CMAKE_OFF=	ENABLE_CUSTOM_COMPILER_FLAGS
USE_CSTD=	c11

PLIST_SUB=	PORTVERSION=${PORTVERSION}

GH_ACCOUNT=	DaveGamble
GH_PROJECT=	cJSON
USE_GITHUB=	yes

.include <bsd.port.mk>