# -*- 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         FFI-Platypus-Lang-Rust 0.17 ../../authors/id/P/PL/PLICEASE
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         FFI::Platypus::Lang::Rust - Documentation and tools for using Platypus with the Rust programming language
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  2d7e906a8e60c87abacea5ba47f3947e68395210 \
                    sha256  41e76fcd823d6c4ef8d3f51e9039215766e336400597118401f13217fcf08f39 \
                    size    39238

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-capture-tiny \
                    port:p${perl5.major}-extutils-makemaker \
                    port:p${perl5.major}-test-script \
                    port:p${perl5.major}-test-simple

    depends_lib-append \
                    port:p${perl5.major}-alien-rust \
                    port:p${perl5.major}-env-shellwords \
                    port:p${perl5.major}-ffi-checklib \
                    port:p${perl5.major}-ffi-platypus \
                    port:p${perl5.major}-file-chdir \
                    port:p${perl5.major}-file-which \
                    port:p${perl5.major}-path-tiny
}