Ticket #50153: nqp.Portfile

File nqp.Portfile, 1.6 KB (added by mojca (Mojca Miklavec), 8 years ago)

Initial attempt for nqp

Line 
1# -*- 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
2# $Id: Portfile 140809 2015-10-03 17:27:07Z raimue@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        perl6 nqp 2015.12
8description         A lightweight Perl-6 like language for virtual machines
9long_description    "Not Quite Perl" (NQP) is a subset of Perl 6, \
10                    clearly not intended as a Perl 6 implementation for end user. \
11                    NQP is a tool to help write compilers and libraries for Parrot. \
12                    It uses only limited forms of Perl 6 syntax and also regular \
13                    expressions and provides only native Parrot runtime support \
14                    (i.e., no specialized Perl 6 libraries or functions).
15
16maintainers         coleda.com:will mojca openmaintainer
17categories          lang devel
18license             Artistic-2
19platforms           darwin
20
21checksums           rmd160  1fe71859ac358346969f8c0bc793bb3b73e6c56f \
22                    sha256  4d77681ec4e0fa0c91bf346ab2bb076981921d29e1fbb9964a2a025d7283bbb7
23
24depends_build       port:perl5
25
26# citation:
27# NQP can run on three different backends: Parrot, MoarVM and the Java Virtual Machine (JVM).
28# Decide on which backends you want it to run, and configure and build it as follows:
29# --backends=moar,parrot,jvm
30depends_lib         port:moarvm
31
32configure.cmd       "${perl5.bin} Configure.pl"
33configure.args      --prefix=${prefix} \
34                    --backends=moar
35
36# Unsupported by configure.pl.
37configure.universal_args-delete --disable-dependency-tracking
38
39test.run            yes