ports/devel/jsonnet/Makefile
Pavel Timofeev 4e2f5177e2 devel/jsonnet: Update to 0.17.0
- Use cmake to build
- Add c++ lib and header, and static libs
- Use DISTVERSION instead of PORTVERSION as advised by porter's handbook
- Remove USE_CXXSTD and CXXFLAGS which seem unnecessary

PR:		256704
Approved by:	Gasol Wu <gasol.wu@gmail.com> (maintainer)
2021-06-21 01:43:19 +08:00

28 lines
573 B
Makefile

# Created by: Gasol Wu <gasol.wu@gmail.com>
PORTNAME= jsonnet
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.0
CATEGORIES= devel
MAINTAINER= gasol.wu@gmail.com
COMMENT= JSON data templating language
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= nlohmann-json>=3.6.1:devel/nlohmann-json
USES= compiler:c++11-lib cmake
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>