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

github.setup        biojppm c4core 0.2.7 v
github.tarball_from releases
revision            0

description         c4core is a library of low-level C++ utilities

long_description    \
    {*}${description}, written with low-latency projects in mind. Some of the \
    utilities provided by c4core have already equivalent functionality in the \
    C++ standard, but they are provided as the existing C++ equivalent may be \
    insufficient \(eg, std\:\:string_view\), inefficient \(eg, \
    std\:\:string\), heavy \(eg streams\), or plainly unusable on some \
    platforms\/projects, \(eg exceptions\)\; some other utilities have \
    equivalent under consideration for C++ standardisation\; and yet some \
    other utilities have \(to my knowledge\) no equivalent under consideration.

categories          devel
license             {MIT Boost-1}
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  f19879a0229dc7d91f3906107015d10708b57da6 \
                    sha256  0856eb232833aa977675cee028c2f32fea631652b65991056d540a0909c2a075 \
                    size    1733961

distname            ${name}-${version}-src
extract.suffix      .tgz

# https://github.com/biojppm/c4core/issues/131
depends_build-append \
                    bin:git:git

compiler.cxx_standard 2017
# https://github.com/biojppm/c4core/issues/130
compiler.blacklist  {clang < 1100}
