# -*- 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         File-ShareDir 1.118
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Locate per-dist and per-module shared files
long_description    The intent of File::ShareDir is to provide a companion \
                    to Class::Inspector and File::HomeDir, modules that \
                    take a process that is well-known by advanced Perl \
                    developers but gets a little tricky, and make it \
                    more available to the larger Perl community.

platforms           {darwin any}

checksums           rmd160  963c5dfd23c1c944ed9a88d70291680877e16a6a \
                    sha256  3bb2a20ba35df958dc0a4f2306fc05d903d8b8c4de3c8beefce17739d281c958 \
                    size    29631

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-file-sharedir-install \
                    port:p${perl5.major}-inc-latest

    depends_lib-append \
                    port:p${perl5.major}-class-inspector \
                    port:p${perl5.major}-list-moreutils \
                    port:p${perl5.major}-params-util

    supported_archs noarch
}
