# -*- 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 1.3522 ../../authors/id/B/BI/BIGPRESH
revision            0
maintainers         {di.uminho.pt:jpo @jpoliv} openmaintainer
license             {Artistic-1 GPL}
description         Lightweight yet powerful web application framework

long_description \
    Dancer aims to provide the simplest way for writing web applications, \
    and offers the flexibility to scale between a very simple lightweight \
    web service consisting of a few lines of code in a single file, all the \
    way up to a more complex fully-fledged web application with session \
    support, templates for views and layouts, etc.

platforms           {darwin any}
supported_archs     noarch

dist_subdir         perl5/${perl5.module}/${perl5.moduleversion}_1

checksums           rmd160  caaf661723b5927a452754176ad8b3a46757bca5 \
                    sha256  d2fbc8c84404a4b45bfd04601e2ff52bc519e3e68714df97b81720e15788f7e0 \
                    size    401926

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-devel-hide \
                    port:p${perl5.major}-json \
                    port:p${perl5.major}-plack \
                    port:p${perl5.major}-template-provider-fromdata \
                    port:p${perl5.major}-template-toolkit \
                    port:p${perl5.major}-test-nowarnings

    depends_lib-append \
                    port:p${perl5.major}-hash-merge-simple \
                    port:p${perl5.major}-http-body \
                    port:p${perl5.major}-http-parser-xs \
                    port:p${perl5.major}-http-server-simple-psgi \
                    port:p${perl5.major}-mime-types \
                    port:p${perl5.major}-module-runtime \
                    port:p${perl5.major}-test-longstring \
                    port:p${perl5.major}-test-simple \
                    port:p${perl5.major}-time-hires \
                    port:p${perl5.major}-try-tiny \
                    port:p${perl5.major}-uri \
                    port:p${perl5.major}-xml-simple \
                    port:p${perl5.major}-yaml \
                    port:p${perl5.major}-yaml-libyaml
}
