# -*- 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.41.0 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  306d55ab993e0d3ea054f2db597d7db81d6ef1a9 \
                    sha256  1c1db6636254bc2dc129cbff0d14b44a98c4a6e7cc2abcafa7326b25f88e6b34 \
                    size    374862
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
