# $Id: Portfile 84444 2011-09-26 11:14:03Z jmr@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

perl5.setup               Params-Validate 1.00
revision                  1
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                 sha1    323356507f47075e9adb89567cda4252197decb7 \
                          rmd160  7908f0daf442424369d2f1162adbf2db8a9a6ab0

if {${perl5.major} != ""} {
depends_lib-append        port:p${perl5.major}-extutils-cbuilder \
                          port:p${perl5.major}-attribute-handlers

perl5.use_module_build
}
