# -*- 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 118990 2014-04-14 19:30:30Z macsforever2000@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18
perl5.setup         Moo 1.004002 ../by-authors/id/H/HA/HAARG

platforms           darwin
maintainers         nomaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

description         Moo - Minimalist Object Orientation (with Moose compatiblity)

long_description    This module is an extremely light-weight subset of Moose \
                    optimised for rapid startup and \"pay only for what you \
                    use\". \
                    \
                    It also avoids depending on any XS modules to allow simple \
                    deployments. The name Moo is based on the idea that it \
                    provides almost -- but not quite -- two thirds of Moose. \
                    \
                    Unlike Mouse this module does not aim at full \
                    compatibility with Moose's surface syntax, preferring \
                    instead of provide full interoperability via the metaclass \
                    inflation capabilities described in \"MOO AND MOOSE\".

checksums           rmd160 a6b32ebaa998f727b067dc10687bb621b66c4dcc \
                    sha256 d32b61b8e85795b302afdf3bc684239a6f8f3b4b8896ada96298164703085183

if {${perl5.major} != ""} {
    depends_lib-append  port:p${perl5.major}-class-method-modifiers \
                        port:p${perl5.major}-devel-globaldestruction \
                        port:p${perl5.major}-dist-checkconflicts \
                        port:p${perl5.major}-import-into \
                        port:p${perl5.major}-module-runtime \
                        port:p${perl5.major}-role-tiny \
                        port:p${perl5.major}-strictures
    depends_build-append \
                        port:p${perl5.major}-test-fatal
}
