# -*- 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       cmake 1.1
PortGroup       github 1.0
PortGroup       legacysupport 1.1

# _static_assert
legacysupport.newest_darwin_requires_legacy 14

github.setup    kugelrund dzip 3.2 v
revision        0
checksums       rmd160  84e472bc22ab9937c337c6ff7559a2e242dc5f9e \
                sha256  7f7b80c3393232735a57cde0243e00923bbc16ea07daaa308e0ce1e3641bb93a \
                size    117310

categories      archivers
maintainers     nomaintainer
license         MPL-2

description     file compression tool

long_description \
    Dzip is a program for file compression. Its advantage \
    over more popular compression software is in the size of the \
    program, easily fitting on a floppy disk. Dzip's original purpose \
    was to compress demo recordings of the id software game Quake.

github.tarball_from archive

depends_lib     port:zlib

compiler.cxx_standard 2011

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} \
        LICENSE \
        Readme \
        README.md \
        ${destroot}${docdir}
}

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