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

Last change on this file was 154393, checked in by mojca@…, 9 months ago

p5-*: remove subports for perl5.22 (#52081)

  • 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 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Params-Validate 1.26
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  2ec4637a42bd8eb04ea1e51de8e2b20616e72a6f \
25                    sha256  821ac3cfa9715b94f60926faf316b9ff722785594b37036202371ad2303a72ed
26
27if {${perl5.major} != ""} {
28    depends_build-append \
29                    port:p${perl5.major}-readonly \
30                    port:p${perl5.major}-test-fatal \
31                    port:p${perl5.major}-test-requires \
32                    port:p${perl5.major}-test-taint
33
34    depends_lib-append \
35                    port:p${perl5.major}-module-implementation
36
37    perl5.use_module_build
38}
Note: See TracBrowser for help on using the repository browser.