Edit

IABSD.fr/ports/lang/rakudo/Makefile

Branch :

  • Show log

    Commit

  • Author : pascal
    Date : 2025-12-14 21:13:24
    Hash : c35d78e3
    Message : Update to rakudo 2025.11.

  • lang/rakudo/Makefile
  • COMMENT =		Rakudo compiler for the Raku language
    
    V =			2025.11
    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
    
    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.raku \
    		${PREFIX}/bin/perl6-install-dist
    
    .include <bsd.port.mk>