# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0

name                MoarVM
version             2015.03
revision            1
categories          lang devel
platforms           darwin
license             Artistic-2 MIT BSD ISC public-domain
maintainers         coleda.com:will
description         A virtual machine for Perl 6
long_description    MoarVM is a virtual machine built especially for \
                    Rakudo Perl 6 and the NQP Compiler Toolchain.
homepage            http://moarvm.org/
master_sites        http://moarvm.org/releases/

checksums           rmd160  853c106a02040f832b11dff0fa1bde14f6f890fa \
                    sha256  4093ff80e6b40f215dd238282a464de59bbd5c2ef42cb9099e9ef68f07fe8d1b

# FIXME: may need ExtUtil::Command if by chance our default perl5 binary
# does not match what Apple ships.
depends_build       port:perl5

# Unsupported by configure.pl.
#configure.universal_args-delete --disable-dependency-tracking

# Currently does not build universal at all.
# Check GH:MoarVM:#182. Once Configure.pl accepts *CFLAGS from the environment,
# try to re-enable this.
universal_variant   no

configure.cmd       ${prefix}/bin/perl Configure.pl
