# -*- 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 99578 2012-11-10 17:22:45Z ryandesign@macports.org $

PortSystem         1.0
PortGroup          perl5 1.0

perl5.branches     5.8 5.10 5.12 5.14 5.16
perl5.setup        Dancer 1.3110 ../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 0ced259b4f13109267bce92c97f4cf575c6153b6 \
                   sha256 1c22800be3fe294acfa8e3810cf6bd5dc6292079c73f74691968b728c5c1bf52

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
}
