Makefile 701 Bytes
Newer Older
1
# Created by: gno@yahoo-inc.com
Matthias Fechner's avatar
Matthias Fechner committed
2
# $FreeBSD: head/devel/json-c/Makefile 536171 2020-05-21 20:46:06Z sunpoet $
3 4

PORTNAME=	json-c
Matthias Fechner's avatar
Matthias Fechner committed
5
PORTVERSION=	0.14
6
CATEGORIES=	devel
Matthias Fechner's avatar
Matthias Fechner committed
7 8
MASTER_SITES=	https://s3.amazonaws.com/json-c_releases/releases/ \
		LOCAL/sunpoet
9 10 11 12 13

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	JSON (JavaScript Object Notation) implementation in C

LICENSE=	MIT
Matthias Fechner's avatar
Matthias Fechner committed
14 15
LICENSE_FILE=	${WRKSRC}/COPYING

Matthias Fechner's avatar
Matthias Fechner committed
16
USES=		cmake compiler:c11 cpe
17

Matthias Fechner's avatar
Matthias Fechner committed
18 19 20
CMAKE_OFF=	BUILD_DOCUMENTATION
CMAKE_ON=	BUILD_SHARED_LIBS BUILD_STATIC_LIBS DISABLE_WERROR
TEST_TARGET=	test
21 22 23 24
USE_LDCONFIG=	yes

CPE_VENDOR=	json-c_project

Matthias Fechner's avatar
Matthias Fechner committed
25 26 27
post-install:
	${INSTALL_DATA} ${WRKSRC}/json_object_private.h ${STAGEDIR}${PREFIX}/include/json-c/

28
.include <bsd.port.mk>