# $Id: Portfile 84682 2011-09-29 12:04:05Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           MooseX-Role-WithOverloading 0.09 ../by-authors/id/F/FL/FLORA/
revision              2
license               {Artistic-1 GPL}
maintainers           nomaintainer
description           Roles which support overloading
long_description      MooseX::Role::WithOverloading allows you to write a \
                      Moose::Role which defines overloaded operators and \
                      allows those operator overloadings to be composed into \
                      the classes/roles/instances it's compiled to, while \
                      plain Moose::Roles would lose the overloading.

platforms             darwin

checksums             md5 47a9ba06b0d2ca69a1fd65482852ee4a \
                      sha1 020407e73083bb54c7b3582e6449319a4c1982ff \
                      rmd160 4927d86ccfc907ee26e82d7f128fdc27106041b3

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-moose \
                      port:p${perl5.major}-moosex-types \
                      port:p${perl5.major}-aliased \
                      port:p${perl5.major}-namespace-autoclean \
                      port:p${perl5.major}-namespace-clean \
                      port:p${perl5.major}-test-simple
}
