# -*- 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
PortGroup           legacysupport 1.1
PortGroup           openssl 1.0

# strnlen
legacysupport.newest_darwin_requires_legacy 10

github.setup        awslabs aws-crt-cpp 0.39.1 v
revision            0
categories          devel
license             Apache-2
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         C++ wrapper around the aws-c libraries
long_description    {*}${description}
checksums           rmd160  87f40d7ac4874ed4c37e3a51d1375ce8f3c12409 \
                    sha256  e8f2a47737915ec36aaab68ec7bdf783f7a903f68322d3c0888d30951483b948 \
                    size    371313
github.tarball_from archive

depends_lib-append  port:aws-c-auth \
                    port:aws-c-cal \
                    port:aws-c-common \
                    port:aws-c-compression \
                    port:aws-c-event-stream \
                    port:aws-c-http \
                    port:aws-c-io \
                    port:aws-c-mqtt \
                    port:aws-c-s3 \
                    port:aws-c-sdkutils \
                    port:aws-checksums \
                    port:s2n-tls

compiler.cxx_standard   2011

configure.args-append \
                    -DBUILD_DEPS=OFF \
                    -DBUILD_SHARED_LIBS=ON \
                    -DBUILD_TESTING=OFF
