# -*- 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-Plugin-Database 2.13
platforms           {darwin any}
maintainers         {di.uminho.pt:jpo @jpoliv} openmaintainer
supported_archs     noarch
license             {Artistic-1 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  bc8dfd9c37aa304379b55486010f0e9f2cd5563d \
                    sha256  8c72371cb07093725e4bee7b3100030e7414cfa97a9655abd1a975866cf825f2

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-dbd-sqlite

    depends_lib-append \
                    port:p${perl5.major}-dancer \
                    port:p${perl5.major}-dancer-plugin-database-core
}
