# -*- 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        zaphoyd websocketpp 0.8.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            2
categories          net devel
platforms           any
supported_archs     noarch
license             BSD
maintainers         {makr @mohd-akram} openmaintainer

description         C++ websocket client/server library

long_description    WebSocket++ is a header only C++ library that implements \
                    RFC6455 The WebSocket Protocol.

checksums           rmd160  1d30eb0b71632fe5d4a790f8d6245063f112fbef \
                    sha256  8b1773ea2832751071ac19d2708314d68316dd3916434c7dc0dd58cef14d51cd \
                    size    701341

patchfiles-append   patch-fix-tests.diff

compiler.cxx_standard 2011

variant tests description "Enable testing" {
    PortGroup       boost 1.0

    configure.args-append \
                    -DBUILD_TESTS=ON

    test.run        yes
}
