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

github.setup        rune-rs rune 0.13.4
github.tarball_from archive
revision            0

description         An embeddable dynamic programming language for Rust.

long_description    {*}${description}

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

checksums           rmd160  2cf7c7526090b933d64270b3b4c88936e1e824ea \
                    sha256  f6a1e89e4824d98319ec46722c05f1e62434543875ff3667732c161a0807ae20 \
                    size    3378894

cargo.offline_cmd

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
