# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup legacysupport 1.1 github.setup rakudo rakudo 2024.07 revision 0 description Raku compiler long_description Rakudo is a compiler for the Raku language \ Rakudo is built using NQP (Not Quite Perl), \ which in turn is targeting the Moar virtual machine. \ See https://raku.org for more information. maintainers {@barracuda156 gmail.com:vital.had} openmaintainer categories lang perl license Artistic-2 homepage https://rakudo.org/ # master_sites https://rakudo.org/downloads/rakudo/ github.tarball_from releases checksums rmd160 d8ed2e27b46b3f3984218e69d2cb9e590a6d99ae \ sha256 e1a92f19c3e987c84bf089947e5f17b498069949bcad1163cff516586764ae3c \ size 6941542 depends_build-append \ path:bin/perl:perl5 depends_lib-append port:MoarVM \ port:nqp legacysupport.redirect_bins \ perl6 perl6-m perl6-debug perl6-debug-m \ rakudo rakudo-m rakudo-debug rakudo-debug-m configure.cmd ${prefix}/bin/perl Configure.pl configure.args --prefix=${prefix} \ --backends=moar \ --with-nqp=${prefix}/bin/nqp # https://github.com/MoarVM/MoarVM/issues/414 # it's also possible that i386 doesn't build at all universal_variant no # Unsupported by Configure.pl # configure.universal_args-delete --disable-dependency-tracking test.run yes # test.target test spectest # other targets: localtest stresstest ... # Replicate condition from legacysupport: if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} ne "libc++"} { # After legacysupport has done its job: post-activate { # Problem: raku and raku-debug are not binaries but symlinks, and when they point to legacysupport wrappers, the latter invoke raku-orig, # which does not exist. Specify binary names explicitly. Then symlinks work as if no legacysupport were involved. reinplace "s|\${0}-orig|rakudo-orig|" ${prefix}/bin/rakudo reinplace "s|\${0}-orig|rakudo-debug-orig|" ${prefix}/bin/rakudo-debug } }