# Created by: Viacheslav Mikerov # $FreeBSD$ PORTNAME= json DISTVERSIONPREFIX= v DISTVERSION= 3.9.1 PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= nlohmann- MAINTAINER= yuri@FreeBSD.org COMMENT= JSON library for Modern C++ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.MIT USES= cmake compiler:c++11-lib USE_GITHUB= yes GH_ACCOUNT= nlohmann NO_BUILD= yes NO_ARCH= yes CMAKE_ON= JSON_MultipleHeaders CMAKE_OFF= JSON_BuildTests do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DJSON_BuildTests:BOOL=ON ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test .include