diff --git a/devel/jwt-cpp/Makefile b/devel/jwt-cpp/Makefile index 0a0b8efc6ef8..1c1ce76e3975 100644 --- a/devel/jwt-cpp/Makefile +++ b/devel/jwt-cpp/Makefile @@ -1,28 +1,32 @@ PORTNAME= jwt-cpp DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= kiwi@FreeBSD.org COMMENT= C++ library for jwt WWW= https://thalhammer.github.io/jwt-cpp/ LICENSE= MIT -BUILD_DEPENDS= nlohmann-json>=3.11:devel/nlohmann-json +BUILD_DEPENDS= nlohmann-json>=3.11:devel/nlohmann-json \ + jsoncpp>=1.9:devel/jsoncpp USES= cmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= Thalhammer +CMAKE_ARGS+= -DJWT_CMAKE_FILES_INSTALL_DIR=${PREFIX}/lib/cmake/jwt-cpp + CMAKE_ON= JWT_ENABLE_COVERAGE \ JWT_ENABLE_FUZZING \ JWT_EXTERNAL_NLOHMANN_JSON CMAKE_OFF= JWT_BUILD_EXAMPLES \ JWT_BUILD_TESTS \ JWT_BUILD_DOCS \ JWT_EXTERNAL_PICOJSON .include diff --git a/devel/jwt-cpp/pkg-plist b/devel/jwt-cpp/pkg-plist index ae1f5fc1911d..fea36643a986 100644 --- a/devel/jwt-cpp/pkg-plist +++ b/devel/jwt-cpp/pkg-plist @@ -1,15 +1,17 @@ -cmake/jwt-cpp-config-version.cmake -cmake/jwt-cpp-config.cmake -cmake/jwt-cpp-targets.cmake include/jwt-cpp/base.h include/jwt-cpp/jwt.h include/jwt-cpp/traits/boost-json/defaults.h include/jwt-cpp/traits/boost-json/traits.h include/jwt-cpp/traits/danielaparker-jsoncons/defaults.h include/jwt-cpp/traits/danielaparker-jsoncons/traits.h include/jwt-cpp/traits/defaults.h.mustache include/jwt-cpp/traits/kazuho-picojson/defaults.h include/jwt-cpp/traits/kazuho-picojson/traits.h include/jwt-cpp/traits/nlohmann-json/defaults.h include/jwt-cpp/traits/nlohmann-json/traits.h +include/jwt-cpp/traits/open-source-parsers-jsoncpp/defaults.h +include/jwt-cpp/traits/open-source-parsers-jsoncpp/traits.h include/picojson/picojson.h +lib/cmake/jwt-cpp/jwt-cpp-config-version.cmake +lib/cmake/jwt-cpp/jwt-cpp-config.cmake +lib/cmake/jwt-cpp/jwt-cpp-targets.cmake