# -*- 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         Catalyst-Plugin-Authentication-Store-DBIC 0.11
revision            4
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Authentication against a DBIx::Class or Class::DBI model.
long_description    This plugin uses a DBIx::Class (or Class::DBI) \
                    object to authenticate a user.

platforms           darwin
supported_archs     noarch

checksums           rmd160 09b3e7c2e7fb48c2aaa514cc56b206d6d72ef12c \
                    sha256 c74ae15d5257503809f5b3784aba454b2a95c651b1bf83c76faeae62a02f1d01

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-catalyst-model-dbic-schema \
                    port:p${perl5.major}-catalyst-plugin-authentication \
                    port:p${perl5.major}-catalyst-plugin-authorization-roles \
                    port:p${perl5.major}-catalyst-plugin-session-state-cookie \
                    port:p${perl5.major}-catalyst-runtime \
                    port:p${perl5.major}-class-accessor \
                    port:p${perl5.major}-dbix-class \
                    port:p${perl5.major}-set-object

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

    variant class_dbi description {Build with class_dbi support} {
        depends_lib-append \
                    port:p${perl5.major}-class-dbi
    }
}