43 lines
949 B
Makefile
43 lines
949 B
Makefile
BROKEN-arm = MoarVM panic: Memory allocation failed; could not allocate 312268 bytes
|
|
|
|
COMMENT = Rakudo compiler for the Raku language
|
|
|
|
V = 2022.12
|
|
DISTNAME = rakudo-$V
|
|
|
|
NQP_VERSION = $V
|
|
|
|
CATEGORIES = lang perl6
|
|
|
|
HOMEPAGE = https://rakudo.org
|
|
|
|
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
|
|
|
|
# Artistic 2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
COMPILER_LANGS = c
|
|
|
|
WANTLIB += atomic_ops c ffi kvm m moar pthread uv zstd
|
|
|
|
MASTER_SITES = https://rakudo.org/dl/rakudo/
|
|
|
|
BUILD_DEPENDS = lang/nqp>=${NQP_VERSION} \
|
|
math/libtommath
|
|
LIB_DEPENDS = lang/moarvm
|
|
RUN_DEPENDS = lang/nqp>=${NQP_VERSION}
|
|
|
|
CONFIGURE_STYLE = simple
|
|
CONFIGURE_SCRIPT = /usr/bin/perl Configure.pl
|
|
CONFIGURE_ARGS += --prefix="${PREFIX}"
|
|
USE_GMAKE = Yes
|
|
MAKE_FLAGS += VERBOSE_BUILD=Yes
|
|
|
|
post-install:
|
|
rm -rf ${PREFIX}/share/perl6/core/precomp/*
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tools/install-dist.p6 \
|
|
${PREFIX}/bin/perl6-install-dist
|
|
|
|
.include <bsd.port.mk>
|