# -*- 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 114291 2013-12-04 11:47:04Z 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-Plugin-Database 2.08 ../by-authors/id/A/AM/AMBS/Dancer/
platforms           darwin
maintainers         di.uminho.pt:jpo openmaintainer
supported_archs     noarch
license             {Artistic GPL}

description         Easy database connections for Dancer applications

long_description    ${name} provides an easy way to obtain a connected DBI \
                    database handle by simply calling the database keyword \
                    within your Dancer application.

checksums           rmd160 2aa9ec4f10735f522a45d5b2f93a17b19b3cb275 \
                    sha256 a6c2525ebd535972a52b94d058c7909bba092307f9955ed3028b2a6205a77816

if {${perl5.major} != ""} {
depends_lib-append  port:p${perl5.major}-dancer \
                    port:p${perl5.major}-dbi
}
