# -*- 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            edicl drakma 2.0.10 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
name                    cl-drakma
revision                0

checksums               rmd160  c63b5502c92fa6c691d6aa858ea0f3e00a0fd234 \
                        sha256  310b948855ba90524e71bf9a964949cc45a80742b2dc82031ce85a1d08d37816 \
                        size    75655

categories-append       www devel
maintainers             nomaintainer
license                 BSD

description             Yet another Lisp markup language

long_description        {*}${description}

if {${name} eq ${subport}} {
    depends_lib-append  port:cl-base64 \
                        port:cl-chipz \
                        port:cl-chunga \
                        port:cl-flexi-streams \
                        port:cl-plus-ssl \
                        port:cl-ppcre \
                        port:cl-puri

    common_lisp.systems drakma.asd

    common_lisp.ffi     yes
    common_lisp.threads yes

    test.run            no
}

subport cl-drakma-test {
    depends_lib-append  port:cl-drakma \
                        port:cl-easy-routes \
                        port:cl-fiveam \
                        port:cl-hunchentoot

    common_lisp.systems drakma-test.asd

    # should be synced with cl-hunchentoot
    common_lisp.ffi     yes
    common_lisp.threads yes
    common_lisp.abcl    no
    common_lisp.ccl     no

    livecheck.type      none
}
