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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup perl6 nqp 2015.12 |
---|
8 | description A lightweight Perl-6 like language for virtual machines |
---|
9 | long_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 | |
---|
16 | maintainers coleda.com:will mojca openmaintainer |
---|
17 | categories lang devel |
---|
18 | license Artistic-2 |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | checksums rmd160 1fe71859ac358346969f8c0bc793bb3b73e6c56f \ |
---|
22 | sha256 4d77681ec4e0fa0c91bf346ab2bb076981921d29e1fbb9964a2a025d7283bbb7 |
---|
23 | |
---|
24 | depends_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 |
---|
30 | depends_lib port:moarvm |
---|
31 | |
---|
32 | configure.cmd "${perl5.bin} Configure.pl" |
---|
33 | configure.args --prefix=${prefix} \ |
---|
34 | --backends=moar |
---|
35 | |
---|
36 | # Unsupported by configure.pl. |
---|
37 | configure.universal_args-delete --disable-dependency-tracking |
---|
38 | |
---|
39 | test.run yes |
---|