# -*- 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.28 5.30 5.32 5.34
perl5.setup         Catalyst-Plugin-Authorization-ACL 0.16
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         ACL support for Catalyst applications.
long_description    This module provides Access Control List style \
                    path protection, with arbitrary rules for Catalyst applications.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160 c84513f099ccefaa38a7ec549d2c6a21e865d416 \
                    sha256 2a37e653482efd2c93b86c6a838941e056c5f94dd86c0f0b893d51933312837c

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-catalyst-runtime \
                    port:p${perl5.major}-catalyst-plugin-authentication \
                    port:p${perl5.major}-catalyst-plugin-authorization-roles \
                    port:p${perl5.major}-catalyst-plugin-session \
                    port:p${perl5.major}-catalyst-plugin-session-state-cookie \
                    port:p${perl5.major}-test-www-mechanize-catalyst
    depends_lib-append \
                    port:p${perl5.major}-catalyst-runtime \
                    port:p${perl5.major}-class-throwable \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-namespace-autoclean \
                    port:p${perl5.major}-tree-simple \
                    port:p${perl5.major}-tree-simple-visitorfactory
}
