# -*- 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           makefile 1.0

github.setup        marcobambini gravity 0.9.9
github.tarball_from archive
revision            0
categories          lang
license             MIT
maintainers         {l2dy @l2dy} openmaintainer
installs_libs       no
description         Gravity Programming Language
long_description    Gravity is a powerful, dynamically typed, lightweight, \
                    embeddable programming language written in C without any \
                    external dependencies.
homepage            https://marcobambini.github.io/gravity/

checksums           rmd160  6a9a64fd7021a547aa6aa28b6f3ba9d240ffd6f6 \
                    sha256  6b14bf45a0657c0e5a088e5dc941d72669b086847eb3474bcf65b37a522da548 \
                    size    971849

compiler.c_standard 1999

destroot {
    xinstall -m 755 -W ${worksrcpath} gravity \
        ${destroot}${prefix}/bin

    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} README.md LICENSE \
        ${destroot}${prefix}/share/doc/${name}
}
