# -*- 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 5.28
perl5.setup         Catalyst-Plugin-Authorization-Roles 0.09
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Role based authorization for Catalyst based \
                    on Catalyst::Plugin::Authentication
long_description    Role based access control is very simple: every user \
                    has a list of roles, which that user is allowed to \
                    assume, and every restricted part of the app makes \
                    an assertion about the necessary roles.

platforms           darwin
supported_archs     noarch

checksums           rmd160  0488a3d2e51eb596f61e4a87fd92d6f97018fb8d \
                    sha256  ee4044e5e2a0d94c4ec512fad55ee0c8de144e1e3b8785207f96025cf9a40351

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-exception
    depends_lib-append \
                    port:p${perl5.major}-catalyst-plugin-authentication \
                    port:p${perl5.major}-catalyst-runtime \
                    port:p${perl5.major}-set-object \
                    port:p${perl5.major}-universal-isa

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