# $Id: Portfile 84997 2011-10-07 00:47:38Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Exception-Class 1.32
revision              3
license               Artistic-2
maintainers           nomaintainer
supported_archs       noarch

description           A module that allows you to declare real exception \
                      classes in Perl
long_description      Exception::Class allows you to declare exception \
                      hierarchies in your modules in a "Java-esque" manner.

platforms             darwin

checksums             md5 83788ad5a2c5e946877e4ec362e19622 \
                      sha1 9692fc3cd349ee73a98b2eda32aae6a8f5d137a8 \
                      rmd160 e038b3d2155807fa95f5361361fe60dd7d04863d

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-devel-stacktrace \
                      port:p${perl5.major}-class-data-inheritable \
                      port:p${perl5.major}-test-simple
}
