# -*- 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
maintainers ryandesign openmaintainer
description high-level dynamically-typed embeddable language
long_description Neko is a high-level dynamically-typed programming \
language. It can be used as an embedded scripting \
language. It has been designed to provide a common \
runtime for several different languages. Learning and \
using Neko is very easy. You can easily extend the \
language with C libraries. You can also write generators \
from your own language to Neko and then use the Neko \
Runtime to compile, run, and access existing libraries.
homepage http://nekovm.org/
master_sites http://nekovm.org/_media/${distfiles}?id=download&cache=cache&dummy=
checksums rmd160 363d49f75fcc48dce4576df5c4c8ee06292996e0 \
sha256 3cfcc73a665559df97126b172510ccff934325d6703d76c74fc8cc66f8112725
depends_build port:boehmgc
depends_lib port:apache22 \
patchfiles patch-LP64.diff \
patch-src-tools-install.neko.diff \
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/tools/install.neko ${worksrcpath}/vm/load.c
reinplace "s|@MYSQL@|${mysql}|g" ${worksrcpath}/src/tools/install.neko
build.args CC="${configure.cc} [get_canonical_archflags cc]" \
INSTALL_PREFIX=${prefix} \
destroot.destdir INSTALL_PREFIX=${destroot}${prefix}