# -*- 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           python 1.0
PortGroup           github 1.0

github.setup        s3tools s3cmd 2.4.0 v
github.tarball_from releases
revision            2

categories          net
platforms           {darwin any}
supported_archs     noarch
license             GPL-2
maintainers         {rzmv.cc:p @przmv}

description         Command line tool for managing S3 compatible storage services
long_description    S3cmd lets you copy files from/to Amazon S3 \
                    (Simple Storage Service) using a simple to use \
                    command line client. Supports rsync-like backup, \
                    GPG encryption, and more. Also supports management \
                    of Amazon's CloudFront content delivery network.

homepage            https://s3tools.org/s3cmd

checksums           rmd160  c9450b19aff1285ac059529be6dd4a22bd8180c1 \
                    sha256  6b567521be1c151323f2059c8feec85ded96b6f184ff80535837fea33798b40b \
                    size    144976

python.default_version  313

depends_run-append      path:share/curl/curl-ca-bundle.crt:curl-ca-bundle \
                        port:py${python.default_version}-dateutil \
                        port:py${python.default_version}-magic

post-destroot {
    xinstall -m 0644 -W ${worksrcpath} ${name}.1 ${destroot}${prefix}/share/man/man1/
}

github.livecheck.regex  {([0-9.]+)}
