arturo: new port, version 0.10.0

Arturo is a simple, expressive & portable programming language
for efficient scripting.

Homepage: https://arturo-lang.io
This commit is contained in:
Yanis Zafirópulos
2026-01-25 03:24:53 +01:00
committed by GitHub
parent f43f165cf3
commit 95f7683eef
2 changed files with 89 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
# -*- 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 openssl 1.0
github.setup arturo-lang arturo 0.10.0 v
github.tarball_from archive
revision 0
categories lang
license MIT
maintainers {@drkameleon gmail.com:yaniszaf} openmaintainer
description Simple, expressive & portable programming language for efficient scripting
long_description Arturo is a simple, modern programming language with a focus on \
simplicity, expressiveness, and portability. It features a clean \
syntax, powerful metaprogramming capabilities, and minimal dependencies. \
The language is designed for efficient scripting and supports multiple \
programming paradigms.
homepage https://arturo-lang.io
checksums rmd160 b96a0148bb17de94a1ae5d74aefa4249006461e9 \
sha256 408646496895753608ad9dc6ddfbfa25921c03c4c7356f2832a9a63f4a7dc351 \
size 31294342
depends_build port:nim \
path:bin/pkg-config:pkgconfig
depends_lib port:gmp \
port:mpfr
patchfiles patch-paths.diff
post-patch {
reinplace "s|@@OPENSSL_PREFIX@@|[openssl::install_area]|g" ${worksrcpath}/.config/buildmode.nims
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/.config/buildmode.nims
}
supported_archs arm64 x86_64
use_configure no
build {
system -W ${worksrcpath} "./build.nims --log"
}
destroot {
xinstall -m 755 ${worksrcpath}/bin/arturo ${destroot}${prefix}/bin/
}
test.run yes
test.cmd ${prefix}/bin/arturo
test.args --version
notes "
Arturo has been installed. You can verify the installation by running:
arturo --version
"
+29
View File
@@ -0,0 +1,29 @@
--- .config/buildmode.nims.orig 2026-01-21 17:28:15
+++ .config/buildmode.nims 2026-01-21 17:30:54
@@ -21,21 +21,15 @@
--define:useOpenssl3
if hostOS == "macosx":
# Headers
- --passC:"-I/opt/homebrew/include" # ARM64 Homebrew
- --passC:"-I/usr/local/include" # Intel Homebrew
- --passC:"-I/opt/local/include" # MacPorts
+ --passC:"-I@@PREFIX@@/include" # MacPorts
+ --passC:"-I@@OPENSSL_PREFIX@@/include" # OpenSSL 3
# Library paths
- --passL:"-L/opt/homebrew/lib" # ARM64 Homebrew
- --passL:"-L/usr/local/lib" # Intel Homebrew
- --passL:"-L/opt/local/lib" # MacPorts
+ --passL:"-L@@PREFIX@@/lib" # MacPorts
+ --passL:"-L@@OPENSSL_PREFIX@@/lib" # OpenSSL 3
# Runtime search paths
- --passL:"-Wl,-rpath,/opt/homebrew/opt/mpfr/lib"
- --passL:"-Wl,-rpath,/opt/homebrew/opt/gmp/lib"
- --passL:"-Wl,-rpath,/usr/local/opt/mpfr/lib"
- --passL:"-Wl,-rpath,/usr/local/opt/gmp/lib"
- --passL:"-Wl,-rpath,/opt/local/lib"
+ --passL:"-Wl,-rpath,@@PREFIX@@/lib"
--passL:"-Wl,-headerpad_max_install_names"
--define:ssl