# -*- 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 108700 2013-07-31 04:29:24Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         Const-Fast 0.013 ../by-authors/id/L/LE/LEONT

platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

description         Const::Fast - Facility for creating read-only scalars, arrays, and hashes.

long_description    ${description}

checksums           rmd160 a4eb55e3c4096f00d2d802a583970129358f33a6 \
                    sha256 8579039ece718d816c0bb85e6ba2d7a23fd9f6d47ac56772022184c06cdac78a

if {${perl5.major} != ""} {
    depends_build-append \
                        port:p${perl5.major}-test-exception
    
    depends_lib-append  port:p${perl5.major}-sub-exporter \
                        port:p${perl5.major}-sub-exporter-progressive
}
