# $Id: Portfile 83385 2011-08-31 01:52:26Z dports@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           autobox 2.72 ../by-authors/id/C/CH/CHOCOLATE/
revision              2
license               {Artistic GPL}
maintainers           nomaintainer
description           Call methods on native types
long_description      The autobox pragma allows methods to be called on \
                      integers, floats, strings, arrays, hashes, and \
                      code references in exactly the same manner as \
                      blessed references.

platforms             darwin

checksums             md5 8724a4e90a26e10152c612da06510b3c \
                      sha1 8718fe28bfe2960032c3d5e046a689479683b820 \
                      rmd160 d9861240a87384c5517347da094b7ed3d56e0e8a

if {${perl5.major} != ""} {
    depends_lib-append    port:p${perl5.major}-scope-guard
}
