# $Id: Portfile 38467 2008-07-21 15:26:27Z narf_tm@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Catalyst-Plugin-Authentication-Store-DBIC 0.11
maintainers           narf_tm openmaintainer
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

checksums             md5 7743beb2c7bca430f906b6c04899eade \
                      sha1 42ac18b2b5d6cf471d7d57f811596436a987e966 \
                      rmd160 09b3e7c2e7fb48c2aaa514cc56b206d6d72ef12c

depends_lib-append    port:p5-catalyst-runtime \
                      port:p5-catalyst-plugin-authentication \
                      port:p5-set-object \
                      port:p5-class-accessor \
                      port:p5-dbix-class \
                      port:p5-catalyst-model-dbic-schema \
                      port:p5-catalyst-plugin-authorization-roles \
                      port:p5-catalyst-plugin-session-state-cookie \
                      port:p5-test-www-mechanize-catalyst

variant class_dbi description {build with class_dbi support} {
	depends_lib-append    port:p5-class-dbi
}
