# -*- 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.26
perl5.setup         DBIx-Class-Cursor-Cached 1.001004
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         cursor class with built-in caching support
long_description    ${description}

platforms           darwin

checksums           rmd160  23d55f5cca7cf09dbd89130bc460cf2925b73dfa \
                    sha256  37085232a1230a5aa8754399fb59b0f8fcd5f597a1e2e348c5227461a1926225

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-dbd-sqlite \
                    port:p${perl5.major}-cache-cache
    
    depends_lib-append \
                    port:p${perl5.major}-carp-clan \
                    port:p${perl5.major}-dbix-class \
                    port:p${perl5.major}-digest-sha

    patchfiles      patch-default-inc-excludes-dot.diff
}