mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
- 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)
28 lines
573 B
Makefile
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>
|