# -*- 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         Tcl 1.51
revision            0
maintainers         {@chrstphrchvz gmx.us:chrischavez} openmaintainer
license             {Artistic-1 GPL}
description         Tcl extension module for Perl
long_description    {*}${description}

checksums           rmd160  941a74c0abcd5447393bb75f9ff0a2f1c9383e19 \
                    sha256  7e2f7de3e35846e748781df434e8e754e23782ecc29ff17bbd26f0259057dcaf \
                    size    173079

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-devel-refcount

    depends_lib-append \
                    port:tcl

    configure.args-append \
                    --tclsh ${prefix}/bin/tclsh \
                    --tclconfig ${prefix}/lib/tclConfig.sh \
                    --nousestubs
}
