# -*- 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.1

github.setup        open-source-parsers jsoncpp 1.9.8
github.tarball_from archive
revision            0

categories          devel
maintainers         nomaintainer
license             MIT

description         JSON C++ library
long_description    JSON data format manipulation C++ library

checksums           rmd160  7dbe95cc5a5325c6e6941af49807b820c4aaa659 \
                    sha256  51828cf3574281d2b79ec2a1c56a9e4c20cc1103711321ea96384cffb8d2d904 \
                    size    220066

# temporary patch to fix build errors
patchfiles-append   patch-fix-build.diff
patch.pre_args-replace  -p0 -p1

compiler.cxx_standard 2011

configure.args-append \
    -DBUILD_SHARED_LIBS=ON \
    -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF

github.livecheck.regex  {([0-9.]+)}
