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

github.setup        CLIUtils CLI11 2.5.0 v
github.tarball_from archive
categories          devel
license             BSD
platforms           any
supported_archs     noarch
maintainers         {l2dy @l2dy} openmaintainer
description         a command line parser for C++11
long_description    CLI11 is a command line parser for C++11 and beyond that \
                    provides a rich feature set with a simple and intuitive interface.

checksums           rmd160  b5c378b359807d2f45d67e46dd89a14938914090 \
                    sha256  17e02b4cddc2fa348e5dbdbb582c59a3486fa2b2433e70a0c3bacb871334fd55 \
                    size    361527

configure.args-append \
                    -DCLI11_BUILD_TESTS=OFF \
                    -DCLI11_BUILD_EXAMPLES=OFF

compiler.cxx_standard 2011

variant tests description "Support testing" {
    configure.args-replace \
                    -DCLI11_BUILD_TESTS=OFF -DCLI11_BUILD_TESTS=ON
    test.run        yes
}
