# -*- 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.04 ../../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  7868c38df98a27b9bac1d757a80e7e2f62310813 \
                    sha256  ba6b8addbedc43a463edcddf7b93accb7676c7b79c40f425b619d99545c4cb8c \
                    size    67232

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
}
