# -*- mode: tcl; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup compiler_blacklist_versions 1.0 PortGroup gitlab 1.0 gitlab.setup gnu-clisp clisp 79cbafdbc6337d6dcd8f2dbad69fb7ebf7a46012 version 2.50.0-20230212 revision 1 categories lang maintainers {easieste @easye} {@catap korins.ky:kirill} openmaintainer platforms darwin license GPL-2 description The CLISP ANSI Common Lisp Implementation long_description \ CLISP is a Common Lisp implementation by Bruno Haible, then of \ Karlsruhe University, and Michael Stoll, then of Munich University, \ both in Germany. It implements the language described in the ANSI \ Common Lisp standard with many extensions. CLISP includes an \ interpreter, a compiler, a debugger, CLOS, MOP, a foreign language \ interface, i18n, POSIX and Perl regular expressions, a socket \ interface, fast bignums, arbitrary precision floats, and more. An \ X11 interface is available through CLX, Garnet and \ CLUE/CLIO. Command line editing is provided by readline. CLISP runs \ Maxima, ACL2 and many other Common Lisp packages. homepage https://clisp.sourceforge.io checksums rmd160 92a19ff77f09bc02611f2fd8655bf380f8dc0182 \ sha256 1754bf00e967ffdbd3d9bbc5b706990d5caf7fe888d55b0fcb6017281b618ddc \ size 9005356 depends_lib port:readline \ port:gettext \ port:libsigsegv \ port:ffcall universal_variant no patchfiles patch-macports-xdg-data-dir.diff post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/modules/asdf/asdf.lisp } # Works with Xcode 7.0 and macports-clang-3.4 # Failed in Lion (https://trac.macports.org/ticket/33344) # Assuming {clang < 300}, but please refine if more datapoints become available compiler.blacklist {clang < 300} configure.cflags ${configure.cc_archflags} if {${os.platform} eq "darwin" && ${os.major} >= 11} { configure.cflags-append -Wl,-no_pie } configure.args --with-libiconv-prefix=${prefix} \ --with-libreadline-prefix=${prefix} \ --with-libsigsegv-prefix=${prefix} \ --with-libffcall-prefix=${prefix} \ --with-readline \ --with-dynamic-ffi \ --with-module=asdf platform darwin { configure.args-append \ --disable-rpath } variant threads description {add multithreading support} { # NOTE: by unknown reason threads might be unstable # See: https://gitlab.com/gnu-clisp/clisp/-/issues/43 configure.args-append \ --with-threads=POSIX_THREADS } use_parallel_build no build.dir ${worksrcpath}/src build.cmd "ulimit -s 16384 && make" build.target test.run yes test.target check