# -*- 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        skypjack entt 3.16.0 v
github.tarball_from archive
revision            0

categories          devel games
license             MIT
platforms           any
supported_archs     noarch
maintainers         nomaintainer

description         EnTT is a header-only, tiny and easy to use library for \
                    game programming and much more written in modern C++.
long_description    {*}${description}

checksums           rmd160  5aba2b834655c796cdcb8d52a174ab646ea1c7ea \
                    sha256  7d7b4037b737992342049ffab14f22fa10243e01664f8c3a0657aa247ac52f71 \
                    size    911397

configure.args-append \
                    -DENTT_INSTALL=ON
post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 {*}[glob ${worksrcpath}/docs/md/*.md] \
        ${destroot}${prefix}/share/doc/${name}
}
