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

checksums           rmd160  4daab9eea9c63c9396619bb12431f13e09cc0758 \
                    sha256  5644f8a8c22f3cf21d70941036f24ca1aa0fe0e50066ef0863365e3aa6f25c9d \
                    size    173082

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
}
