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

github.setup        biojppm c4core 0.2.2 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  e420821e42c79b4cdf050e277cd0cbee1c2b0d1d \
                    sha256  beea43a5bdc64616d897cc0af728f408e35e2d75a8bb6014e6e25e90e0484578 \
                    size    1683271

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}