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

gitlab.setup        eidheim Simple-Web-Server 3.1.1 v
name                simple-web-server
revision            0

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

description         HTTP and HTTPS server and client library in C++11
long_description    A very simple, fast, multithreaded, platform independent \
                    HTTP and HTTPS server and client library implemented \
                    using C++11 and Boost.Asio. Created to be an easy way \
                    to make REST resources available from C++ applications.

checksums           rmd160  ebf87ddc11735a8ef5b93cdf05dd6afe07d33011 \
                    sha256  7d9b2d3eb2f62e37771eba32023dad2fa8ae2b8703a5245d6a5d1f4bcd580209 \
                    size    62494

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
}
