# -*- 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 cmake 1.1 PortGroup github 1.0 PortGroup muniversal 1.0 github.setup json-c json-c 0.17-20230812 json-c- revision 0 license MIT categories textproc devel maintainers nomaintainer description A JSON parser long_description JSON-C implements a reference counting object model that allows \ you to easily construct JSON objects in C, output them as JSON \ formatted strings and parse JSON formatted strings back into \ the C representation of JSON objects. checksums rmd160 96d10e9335158a8669730d8d356a4b208cb4322c \ sha256 0b26769642817955af2c0baa343757c736ce6e2c37238e9072b6851cee2702be \ size 364532 # disable warnings as errors, fixes: # cc1: warnings being treated as errors # json_object.c:73: warning: 'cold' attribute directive ignored # make[2]: *** [CMakeFiles/json-c.dir/build.make:125: CMakeFiles/json-c.dir/json_object.c.o] Error 1 configure.args-append -DDISABLE_WERROR=ON # Add missing header file json_object_private.h. # See https://trac.macports.org/ticket/55647 post-destroot { copy ${worksrcpath}/json_object_private.h ${destroot}${prefix}/include/json-c/ }