# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup cmake 1.0 PortGroup cxx11 1.1 name jsoncpp categories devel platforms darwin maintainers {michaelld @michaelld} openmaintainer license MIT description JSON C++ library long_description JSON data format manipulation C++ library subport jsoncpp-devel {} if {${subport} eq ${name}} { # release github.setup open-source-parsers jsoncpp 1.8.4 checksums rmd160 46ddb792a25c1ac62967adef604d760e68c084f9 \ sha256 9c2370371a76337e4afe3128cceec943620f97d12c720c3046f39eae6f85f4cd conflicts jsoncpp-devel } else { # devel github.setup open-source-parsers jsoncpp 80bc776bae74261742b7c2d0b8dc31ec1718ba4a version 20180624 checksums rmd160 2cf9fb257cd420aad1ec1ba6070d3359118f9b2b \ sha256 655901b849cc40ede9333c3c19acbfb3d8e80462b1cb84f2073df886a52a91ca \ size 202199 conflicts jsoncpp long_description ${description}: \ This port follows the GIT master version of ${name}, which is typically updated every few days to weeks. } patchfiles patch-CMakeLists.txt.diff cmake.out_of_source yes configure.args-append \ -DBUILD_SHARED_LIBS=ON \ -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF