# -*- 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 # $Id$ PortSystem 1.0 name neko version 1.8.2 revision 1 categories lang platforms darwin maintainers ryandesign openmaintainer license LGPL-2.1+ 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:apache2 \ port:pcre \ port:sqlite3 \ port:zlib patchfiles patch-LP64.diff \ patch-Makefile.diff \ patch-src-tools-install.neko.diff \ patch-vm-load.c.diff set mysql {} post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/tools/install.neko ${worksrcpath}/vm/load.c reinplace "s|@MYSQL@|${mysql}|g" ${worksrcpath}/src/tools/install.neko } use_configure no variant universal {} use_parallel_build no build.args CC="${configure.cc} [get_canonical_archflags cc]" \ INSTALL_PREFIX=${prefix} \ MACOSX=1 test.run yes destroot.destdir INSTALL_PREFIX=${destroot}${prefix} destroot.args MACOSX=1 post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ CHANGES \ LICENSE \ ${destroot}${docdir} } variant mysql5 description {Use mysql5} conflicts mysql51 mysql55 mariadb percona { depends_lib-append port:mysql5 set mysql mysql5 } variant mysql51 description {Use mysql51} conflicts mysql5 mysql55 mariadb percona { depends_lib-append port:mysql51 set mysql mysql51 } variant mysql55 description {Use mysql55} conflicts mysql5 mysql51 mariadb percona { depends_lib-append port:mysql55 set mysql mysql55 } variant mariadb description {Use mariadb} conflicts mysql5 mysql51 mysql55 percona { depends_lib-append port:mariadb set mysql mariadb } variant percona description {Use percona} conflicts mysql5 mysql51 mysql55 mariadb { depends_lib-append port:percona set mysql percona } if {![variant_isset mysql5] && ![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mariadb] && ![variant_isset percona]} { default_variants +mysql5 } livecheck.type regex livecheck.url ${homepage}download livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}