# -*- 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        catchorg Catch2 3.8.1 v
github.tarball_from archive
name                catch2
revision            0

categories          devel
license             Boost-1
maintainers         {gmail.com:howarth.at.macports @jwhowarth} openmaintainer

description         Catch 2: a modern, C++-native, header-only, test framework for unit-tests
long_description    ${description}, TDD and BDD - using C++14, C++17 and later.

checksums           rmd160  d8eb03826e54bd04f5a06b984dc3330a8f56a65c \
                    sha256  18b3f70ac80fccc340d8c6ff0f339b2ae64944782f8d2fca2bd705cf47cadb79 \
                    size    1197623

compiler.cxx_standard 2014

# Old clangs apparently have trouble with std::is_constructible.
# https://github.com/catchorg/Catch2/issues/1935
# https://github.com/catchorg/Catch2/issues/946
compiler.blacklist-append   {clang < 700}

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