# $Id: Portfile 109879 2013-08-21 02:42:46Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.branches        5.8 5.10 5.12 5.14 5.16
perl5.setup           Catalyst-Plugin-Authentication-Store-DBIC 0.11
revision              3
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             md5 7743beb2c7bca430f906b6c04899eade \
                      sha1 42ac18b2b5d6cf471d7d57f811596436a987e966 \
                      rmd160 09b3e7c2e7fb48c2aaa514cc56b206d6d72ef12c

if {${perl5.major} != ""} {
    depends_lib-append    port:p${perl5.major}-catalyst-runtime \
                          port:p${perl5.major}-catalyst-plugin-authentication \
                          port:p${perl5.major}-set-object \
                          port:p${perl5.major}-class-accessor \
                          port:p${perl5.major}-dbix-class \
                          port:p${perl5.major}-catalyst-model-dbic-schema \
                          port:p${perl5.major}-catalyst-plugin-authorization-roles \
                          port:p${perl5.major}-catalyst-plugin-session-state-cookie \
                          port:p${perl5.major}-test-www-mechanize-catalyst
    
    variant class_dbi description {build with class_dbi support} {
        depends_lib-append    port:p${perl5.major}-class-dbi
    }
}
