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

checksums           rmd160  8cbdaf5db8367106fa6d50a404bb8723d14b1816 \
                    sha256  1a0b8a6343c316974aadbda8cf35bf3cef5bec8b28a769c1b37cbe24abe8a6b9 \
                    size    173265

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
}
