# -*- 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           gitlab 1.0
PortGroup           boost 1.0

gitlab.setup        eidheim Simple-WebSocket-Server 2.0.2 v
name                simple-websocket-server
epoch               1
revision            0

platforms           any
supported_archs     noarch
categories          devel
license             MIT
maintainers         {gmail.com:rene.vanpaassen @repagh} openmaintainer

description         websocket server and client library in C++11
long_description    A very simple, fast, multithreaded, platform independent \
                    WebSocket (WS) and WebSocket Secure (WSS) server and \
                    client library implemented using C++11, Asio (both \
                    Boost.Asio and standalone Asio can be used) and \
                    OpenSSL. Created to be an easy way to make WebSocket \
                    endpoints in C++.

checksums           rmd160  500d6a9e6142997f39253066545bf07c755da546 \
                    sha256  dccbef92e06b1d027dd95cb27233764e787673a95e8f3d53439ebeef7d4fe04d \
                    size    27004

configure.args-append -DBUILD_TESTING=OFF

variant tests description {Enable tests} {
    PortGroup       openssl 1.0

    configure.args-append -DBUILD_TESTING=ON
    compiler.cxx_standard 2011

    test.run        yes
}
