# -*- 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.3521 ../../authors/id/Y/YA/YANICK
revision            1
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  0e75ba01582d099d87a8520ba000e1de67a04271 \
                    sha256  15f633e1b431dfe55e9a82c9af4c3221085e65e1dba93bfcffd24458458559e2 \
                    size    401803

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
}