aboutsummaryrefslogtreecommitdiff
path: root/devel/jsonnet/Makefile
blob: 1da6097367eec1a4e5bd932ea169e3e33d702257 (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
30
PORTNAME=	jsonnet
DISTVERSIONPREFIX=	v
DISTVERSION=	0.18.0
CATEGORIES=	devel

MAINTAINER=	gasol.wu@gmail.com
COMMENT=	JSON data templating language
WWW=		https://jsonnet.org

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	nlohmann-json>=3.6.1:devel/nlohmann-json
LIB_DEPENDS=	libc4core.so:devel/c4core \
		libryml.so:devel/rapidyaml

USES=		compiler:c++11-lib cmake localbase:ldflags

USE_GITHUB=	yes
GH_ACCOUNT=	google

USE_LDCONFIG=	yes

CMAKE_ON=	BUILD_JSONNET BUILD_JSONNETFMT BUILD_STATIC_LIBS \
		BUILD_SHARED_BINARIES USE_SYSTEM_JSON
CMAKE_OFF=	BUILD_TESTS

PLIST_SUB=	PORTVERSION=${PORTVERSION}

.include <bsd.port.mk>