# -*- 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 105406 2013-04-19 20:32:26Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         MooseX-Aliases 0.10

platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

description         MooseX::Aliases - easy aliasing of methods and attributes in Moose

long_description    ${description}

checksums           rmd160 67b4d2d8d28fa30f50ceb8ccbe0669591ae4db58 \
                    sha256 9fb293e6eaaadee8874fcda168a8d4e6517631c1c1be631513549f66ba017fd8

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}-moose
}
