# -*- 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 compiler_blacklist_versions 1.0 PortGroup openssl 1.0 PortGroup muniversal 1.0 PortGroup github 1.0 github.setup chriskohlhoff asio 1-28-1 asio- version [string map {- .} ${github.version}] revision 0 checksums rmd160 1e13792b96daee0f3c0343f3e336c10216011367 \ sha256 601993a40b89fe1d29a0caeeac1c76fb0da8ab13e2e5e54cabb533ba4966fc3b \ size 2971813 license Boost-1 description Asio C++ Library. long_description Asio is a cross-platform C++ library for network \ and low-level I/O programming that provides developers \ with a consistent asynchronous model using a modern C++ approach. maintainers {gmail.com:g.litenstein @Lord-Kamina} openmaintainer categories devel homepage https://think-async.com/Asio/ worksrcdir ${worksrcdir}/${name} use_autoconf yes autoconf.cmd ./autogen.sh depends_build-append port:autoconf \ port:automake \ port:libtool \ port:pkgconfig compiler.cxx_standard 2014 compiler.blacklist-append {clang < 800} configure.cxxflags-append -std=gnu++14 if { [string match *clang* ${configure.compiler}] } { # Quiet warnings configure.cxxflags-append \ -Wno-unknown-pragmas \ -Wno-error=unknown-warning-option \ -Wno-unknown-warning-option } configure.args --with-boost=no \ --with-openssl=[openssl::install_area] configure.env-append ASIO_HAS_STD_CHRONO=1 \ ASIO_DISABLE_STD_STRING_VIEW=1