# -*- 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         Archive-Tar 3.14 ../../authors/id/B/BI/BINGOS
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Archive::Tar - module for manipulations of tar archives
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  d7b06f0cd6c45ab5b2ac6cdbfa5360ce1b91b281 \
                    sha256  177ce0506124afbe3ef95836761fb0799c941b87b79bac489bddc6cda860d904 \
                    size    68347

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-io-compress \
                    port:p${perl5.major}-io-compress-lzma \
                    port:p${perl5.major}-io-zlib \
                    port:p${perl5.major}-text-diff
    
# configure Makefile.PL with -d option to add Text::Diff as a prerequisite, required by ptardiff
    configure.pre_args-append -d

    perl5.link_binaries no
}
