Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add support for nqp-jvm subport
  • Loading branch information
coke committed Jun 5, 2015
1 parent fb4892f commit 7a19c01
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions ports/macports/Portfile
Expand Up @@ -4,9 +4,6 @@ PortSystem 1.0

name nqp
version 2015.05
depends_lib port:MoarVM
depends_build port:MoarVM
depends_run port:MoarVM
categories lang devel
platforms darwin
license Artistic-2
Expand Down Expand Up @@ -35,5 +32,15 @@ configure.universal_args-delete --disable-dependency-tracking

universal_variant yes

configure.cmd ${prefix}/bin/perl Configure.pl --backends=moar --with-moar=${prefix}/bin/moar

subport nqp {
depends_lib port:MoarVM
depends_build port:MoarVM
depends_run port:MoarVM
configure.cmd ${prefix}/bin/perl Configure.pl --backends=moar --with-moar=${prefix}/bin/moar
}
subport nqp-jvm {
distfiles nqp-${version}.tar.gz
configure.cmd ${prefix}/bin/perl Configure.pl --backends=jvm
}

0 comments on commit 7a19c01

Please sign in to comment.