# -*- 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.0 v
revision        0
checksums       rmd160  8f5044c7f28c8319c6b1477bce500957520632db \
                sha256  b70cc2add28a76ca512100be84f1a22fda575a8ff57205db11acd6aa51618f82 \
                size    141910

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

patchfiles      zlib.patch

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}
}
