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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Dancer-Session-Cookie 0.30
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Dancer::Session::Cookie - Encrypted cookie-based session backend for Dancer
long_description    ${description}

platforms           {darwin any}

checksums           rmd160  f4fd06898b4e7e5bed86c0c34cbf685d3a7b8402 \
                    sha256  526790cf91b8d2501a58292284bf511a2f00b05f51aa0aff713ff5166b4d6412 \
                    size    27033

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-http-date \
                    port:p${perl5.major}-http-message \
                    port:p${perl5.major}-plack \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-requires \
                    port:p${perl5.major}-test-nowarnings

    depends_lib-append \
                    port:p${perl5.major}-crypt-cbc \
                    port:p${perl5.major}-crypt-rijndael \
                    port:p${perl5.major}-dancer \
                    port:p${perl5.major}-perlx-maybe \
                    port:p${perl5.major}-session-storage-secure \
                    port:p${perl5.major}-string-crc32 \
                    port:p${perl5.major}-time-duration-parse

    supported_archs noarch
}
