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

go.setup            github.com/go-python/gpython 0.2.0 v
revision            0

description         \
    gpython is a python interpreter written in go, \"batteries not included\"

long_description    \
    gpython is a part re-implementation, part port of the Python 3.4 \
    interpreter in Go.

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

checksums           rmd160  4f2e2bfcab64abe9a48b74e8d43c9e06f8b548ea \
                    sha256  abef8c9eb43be8b749b9230c6e4e8248b0d908b03c7187eda26aa43f26bc6b5e \
                    size    449209

go.offline_build no
build.pre_args-append \
    -ldflags \"-X main.version=${github.tag_prefix}${version}\"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
