# -*- 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.06 ../../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  1e2c24c5123ab5ca40054f4705e9fa1fd9e2fec5 \
                    sha256  107d18917695d9d96834308e004ec463c24f459a0ed72bee7722749c1c625ad7 \
                    size    67467

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
}
