# -*- 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
# $Id: Portfile 89835 2012-02-12 18:27:07Z ryandesign@macports.org $

PortSystem         1.0
PortGroup          perl5 1.0

perl5.setup        Dancer 1.3092 ../by-authors/id/X/XS/XSAWYERX/
platforms          darwin
maintainers        di.uminho.pt:jpo openmaintainer
supported_archs    noarch
license            {Artistic 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.

checksums          rmd160  48dda1acea285ea743db81bca1843d32fef743fb \
                   sha256  ae253b3a6bf6fca61c34f4226547af697b9102a146cb47029e3a38f413320e1a

if {${perl5.major} != ""} {
depends_lib-append port:p${perl5.major}-http-server-simple-psgi \
                   port:p${perl5.major}-uri \
                   port:p${perl5.major}-http-body \
                   port:p${perl5.major}-mime-types \
                   port:p${perl5.major}-libwww-perl \
                   port:p${perl5.major}-try-tiny
}
