# -*- 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           github  1.0
PortGroup           cmake   1.1

github.setup        wasm3 wasm3 0.9.0 v
github.tarball_from archive
revision            0

description         \
    A fast WebAssembly interpreter, and the most universal WASM runtime

long_description    {*}${description}

checksums           rmd160  c98e003e03f92eaa8cf8996a0afc96e8ad33b949 \
                    sha256  cab79ce74bcac25bbf80b5ebe14af9795b9bac30b05ee8f620a3bc8002f3b8e6 \
                    size    2656936

categories          lang devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

depends_build-append \
                    port:git

destroot {
    xinstall -m 0755 ${cmake.build_dir}/${name} ${destroot}${prefix}/bin/
}
