# -*- 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               common_lisp 1.0

github.setup            guicho271828 trivia 9e38bf25c46f44c31fde689cfee09cc0aaf36176
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
name                    cl-trivia
version                 20230302
revision                0

checksums               rmd160  5de9789dca927824da81808948e63a2ade6f9245 \
                        sha256  13b60f0fec8f7f6654bcf548391965c99eb232e41eaefe20e8359ec187264096 \
                        size    62128

categories-append       devel
maintainers             nomaintainer
license                 LLGPL

description             Pattern Matcher Compatible with Optima

long_description        {*}${description}


# :info:test Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
# :info:test                                                           {1004788113}>:
# :info:test   COMPILE-FILE-ERROR while
# :info:test   compiling #<CL-SOURCE-FILE "trivia.benchmark" "definitions">
post-extract {
    file delete ${worksrcpath}/trivia.benchmark.asd
}

# NOTE: trivia.quasiquote.asd depends on cl-fare-quasiquote-readtable which depends on this port
common_lisp.build_run   no

depends_lib-append      port:cl-cffi \
                        port:cl-closer-mop \
                        port:cl-fset \
                        port:cl-iterate \
                        port:cl-lisp-namespace \
                        port:cl-ppcre \
                        port:cl-trivial-cltl2 \
                        port:cl-type-i

depends_test-append     port:cl-fare-quasiquote

common_lisp.ffi         yes

# See: https://github.com/Bike/introspect-environment/issues/5
common_lisp.ecl         no
common_lisp.clisp       no
