# -*- 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 compiler_blacklist_versions 1.0 PortGroup compilers 1.0 PortGroup github 1.0 github.setup nncarlson yajl-fort 1.3 v revision 0 categories fortran license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Modern Fortran interface to the YAJL library long_description The YAJL-Fort package provides a modern object-oriented Fortran interface to the YAJL C library, \ which is an event-driven parser for JSON data streams. checksums rmd160 be6f0da4b8dfe6f4698cd55ed52b4465cd7ca18a \ sha256 276f4d0a329b02f30e52dfb5a94ea10714dd0098d2749a68cf8edde4878f6111 \ size 32800 depends_lib-append port:yajl # Fix building dynamic lib; install .mod files into a sane directory. patchfiles patch-fix-CMakeLists.diff compilers.setup require_fortran compiler.blacklist-append \ {*gcc-[34].*} {clang < 421} configure.args-append \ -DBUILD_TESTS=ON \ -DBUILD_HTML=OFF test.args-append DYLD_LIBRARY_PATH=${cmake.build_dir}/src test.run yes