source: trunk/dports/perl/p5-params-validate/Portfile @ 131456

Last change on this file since 131456 was 131456, checked in by devans@…, 5 years ago

p5-params-validate: update to version 1.17.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 131456 2015-01-12 11:24:11Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.16 5.18 5.20
8perl5.setup         Params-Validate 1.17
9license             Artistic-2
10maintainers         nomaintainer
11description         Validate method/function parameters
12long_description    The Params::Validate module allows you to validate method \
13                    or function call parameters to an arbitrary level of \
14                    specificity.  At the simplest level, it is capable of \
15                    validating the required parameters were given and that no \
16                    unspecified additional parameters were passed in. It is \
17                    also capable of determining that a parameter is of a \
18                    specific type, that it is an object of a certain class \
19                    hierarchy, that it possesses certain methods, or applying \
20                    validation callbacks to arguments.
21
22platforms           darwin
23
24checksums           rmd160  6edf40e05abd1fdc4e203f3726e4f4a0dd418a9e \
25                    sha256  b4e8097bf0316425eeeaa376f3ae360daaca8ddf3360c0462246d539531c02f2
26
27if {${perl5.major} != ""} {
28    depends_build-append \
29                    port:p${perl5.major}-test-fatal \
30                    port:p${perl5.major}-test-requires
31
32    depends_lib-append \
33                    port:p${perl5.major}-attribute-handlers \
34                    port:p${perl5.major}-module-implementation
35
36    perl5.use_module_build
37}
Note: See TracBrowser for help on using the repository browser.