# -*- 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

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Variable-OnDestruct 0.09
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         Variable::OnDestruct - Call a subroutine on destruction of a variable.
long_description    {*}${description}

checksums           rmd160  6e50d07e41142eb0b69ae0a299434ceb146e5992 \
                    sha256  7add0e8d81c2ff0f4e6b30ec98cb06c1e0058e89ceafccffea3695ce4674d0dc \
                    size    133510

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-simple

    perl5.use_module_build
}
