# -*- 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         Params-Validate 1.31
revision            0
license             Artistic-2
maintainers         nomaintainer
description         Validate method/function parameters
long_description    The Params::Validate module allows you to validate method \
                    or function call parameters to an arbitrary level of \
                    specificity.  At the simplest level, it is capable of \
                    validating the required parameters were given and that no \
                    unspecified additional parameters were passed in. It is \
                    also capable of determining that a parameter is of a \
                    specific type, that it is an object of a certain class \
                    hierarchy, that it possesses certain methods, or applying \
                    validation callbacks to arguments.

platforms           darwin

checksums           rmd160  22ab332347dd541d9ab42cf922ebf7df146b8e3d \
                    sha256  1bf2518ef2c4869f91590e219f545c8ef12ed53cf313e0eb5704adf7f1b2961e \
                    size    213438

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-readonly \
                    port:p${perl5.major}-test-fatal \
                    port:p${perl5.major}-test-requires \
                    port:p${perl5.major}-test-taint

    depends_lib-append \
                    port:p${perl5.major}-module-implementation

    perl5.use_module_build
}
