# -*- 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 select 1.0 name gnu-apl version 1.8 revision 1 categories lang platforms darwin license GPL-3+ maintainers {@casouri gmail.com:casouri} openmaintainer description GNU APL is a free interpreter for the programming language APL. long_description GNU APL is a free interpreter for the programming language APL. \ The APL interpreter is an (almost) complete implementation of ISO \ standard 13751 aka. Programming Language APL, Extended. homepage https://www.gnu.org/software/apl/ master_sites gnu:apl distname apl-${version} depends_lib port:fftw-3 \ port:pcre2 \ port:readline \ port:sqlite3 \ port:xorg-libxcb depends_run port:apl_select select.group apl select.file ${filespath}/${name} checksums rmd160 e277ae100c8eccae32980b606401b04bfe65b0b1 \ sha256 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb \ size 3565018 livecheck.type regex livecheck.regex apl-(\[0-9.\]+)${extract.suffix} patchfiles dynamic_lookup-11.patch patchfiles-append bind.patch # Do not use -Werror. configure.env CXX_WERROR=no configure.args --with-pcre=${prefix} \ --with-sqlite3=${prefix} \ --without-postgresql # Don't find gtk3. This project's gtk3-using code is not macOS-compatible. configure.env-append \ PKG_CONFIG=false post-destroot { file rename ${destroot}${prefix}/bin/apl ${destroot}${prefix}/bin/gnu-apl } test.run yes test.target check notes " gnu-apl has been installed as gnu-apl. You can use “sudo port select --set apl gnu-apl” to set gnu-apl as default APL executable. Info file is installed under ${prefix}/share/info. You need to set \$INFOPATH accordingly in order to view them. "