# -*- 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 af17fecd29fb808aa6a8e6d013bb61de975d1890 version 20180405 checksums rmd160 6716d9edf9c197e6d68ae1a2fa0722e5f66be849 \ sha256 e65cf9326985818647ee5ae740110465c870568949979063c638f4d6b089be80 \ size 201551 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