# -*- 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.26 5.28 5.30
perl5.setup         Error 0.17029
license             {Artistic-1 GPL}
maintainers         {khindenburg @kurthindenburg} openmaintainer
description         Error/exception handling in an OO-ish way
long_description    The Error package provides two interfaces.  Firstly \
                    Error provides a procedural interface to exception \
                    handling. Secondly Error is a  base class for \
                    errors/exeptions that can either be thrown, for \
                    subsequent catch, or can simply be recorded.
platforms           darwin

checksums           rmd160  7f07fde5a99fad2259d80753874fb02a409ff5cf \
                    sha256  1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc \
                    size    33304

supported_archs noarch

if {${perl5.major} != ""} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
       xinstall -d ${destroot}${docdir}
       xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}

       set examplesdir ${prefix}/share/examples/${subport}
       xinstall -d ${destroot}[file dirname ${examplesdir}]
       copy ${worksrcpath}/examples ${destroot}${examplesdir}
    }
}
