# -*- 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        mnmlstc core 1.1.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
checksums           rmd160  7d3a38f176a7628b048583b39b83b5723aacd1e3 \
                    sha256  3aa195263bfc3998f67014c2662825b0857ec509174c6f542cf4591dceb4835d \
                    size    89799

name                ${github.author}-${github.project}
categories          devel
maintainers         {ryandesign @ryandesign} openmaintainer
license             Apache-2
supported_archs     noarch

description         a small library of C++14 functionality implemented in C++11

long_description    MNMLSTC Core is a small and easy to use C++11 library that \
                    adds a functionality set that will be available in C++14 \
                    and later, as well as some useful additions, or some \
                    proposals that have not been completely approved yet.

compiler.cxx_standard 2011

configure.args      -DBUILD_DOCS=OFF \
                    -DBUILD_TESTING=OFF

if {${configure.cxx_stdlib} eq "libc++"} {
    configure.args-append \
                    -DBUILD_WITH_LIBCXX=ON
} else {
    configure.args-append \
                    -DBUILD_WITH_LIBCXX=OFF
}
