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

name                cl-uffi
version             2.1.2
revision            0

homepage            https://tracker.debian.org/cl-uffi

master_sites        debian:c/${name}/
worksrcdir          ${name}-${version}
distname            ${name}_${version}
extract.suffix      .orig.tar.gz

checksums           rmd160  f160e41e4dc3ff5497a6ef322052e01fec355eca \
                    sha256  6c2d80779c136066649226edfa59d973fa3135a4630bc919f9a8b1b0395e11f7 \
                    size    206305

categories-append   devel
maintainers         nomaintainer
license             BSD

description         Universal Foreign Function Library for Common Lisp

long_description    {*}${description}

# this is very old code which might not be supported by some lisp
common_lisp.clisp   no
common_lisp.ecl     no
common_lisp.abcl    no

post-extract {
    # :FORCE and :FORCE-NOT arguments not allowed in a nested call to ASDF/OPERATE:OPERATE unless identically to toplevel
    reinplace {s| :force t||} ${worksrcpath}/uffi.asd
}

# some tests are failed on macOS
test.run            no

livecheck.url       http://ftp.debian.org/debian/pool/main/c/${name}/?C=N\;O=D
livecheck.regex     ${name}_(\\d+(?:\\.\\d+)*)
