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

github.setup        amadvance advancecomp 2.6 v
github.tarball_from releases

categories          archivers
maintainers         nomaintainer
license             GPL-3

description         recompression utilities for .PNG, .MNG, .ZIP and .GZ files

long_description    AdvanceCOMP is a set of recompression utilities for \
                    .PNG, .MNG, .ZIP and .GZ files. The main features are: \
                    Recompress ZIP, GZ, PNG and MNG files using the Deflate \
                    7-Zip implementation, and recompress MNG files using \
                    Delta and Move optimization.

homepage            https://www.advancemame.it

checksums           rmd160  88c630d171282ae792c3c66e2e20525610e267d9 \
                    sha256  b07d77735540409771cbe1b6df165b5151c11bb9c3d8f01290be0ec88ec3498f \
                    size    1343700

depends_lib         port:bzip2 \
                    port:zlib

configure.args      --enable-bzip2

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING HISTORY README \
                ${destroot}${docdir}
}
