source: trunk/dports/perl/p5-try-tiny/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 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.4 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         Try-Tiny 0.27 ../by-authors/id/E/ET/ETHER
9maintainers         nomaintainer
10license             MIT
11description         Try::Tiny - minimal try/catch with proper preservation of $@
12long_description    The main focus of this module is to provide simple and reliable error \
13                    handling for those having a hard time installing TryCatch, but who \
14                    still want to write correct \"eval\" blocks without 5 lines of \
15                    boilerplate each time.  It\'s designed to work as correctly as \
16                    possible in light of the various pathological edge cases and to be \
17                    compatible with any style of error values (simple strings, \
18                    references, objects, overloaded objects, etc).
19
20platforms           darwin
21
22checksums           rmd160  4606acec28660f8da5f7d11a0dbe2ba71b4381a9 \
23                    sha256  8abf0878c9cddc0c4ab9c4adfa8d81790a16d7cb53b0e429430b13b7567075fb
24
25if {${perl5.major} != ""} {
26    depends_build-append \
27                    port:p${perl5.major}-capture-tiny \
28                    port:p${perl5.major}-scalar-list-utils
29
30    depends_lib-append \
31                    port:p${perl5.major}-sub-name
32
33    supported_archs noarch
34}
Note: See TracBrowser for help on using the repository browser.