# -*- 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
# $Id: Portfile 105417 2013-04-19 22:39:58Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         Eval-Closure 0.08 ../by-authors/id/D/DO/DOY

platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

description         Eval::Closure - safely and cleanly create closures via string eval.

long_description    ${description}

checksums           rmd160 0fe3a1a714aa5f10a2b549bc736931f9af45f297 \
                    sha256 738ce424d68ce1ac93c0b1539d6740ac8fff81fdd06ef7e4c8b022296922a407

if {${perl5.major} != ""} {
    depends_build-append \
                        port:p${perl5.major}-test-fatal \
                        port:p${perl5.major}-test-requires
    
    depends_lib-append  port:p${perl5.major}-sub-exporter \
                        port:p${perl5.major}-try-tiny
}
