# -*- 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        catchorg Catch2 3.7.0 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  59c62fd1b383c6f4575c746c40c2c7523d412a8e \
                    sha256  5b10cd536fa3818112a82820ce0787bd9f2a906c618429e7c4dea639983c8e88 \
                    size    1190454

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.]+)}
