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

github.setup        ebiggers libdeflate 1.22 v
github.tarball_from releases
revision            0

checksums           rmd160  e9a8afb119be7c7547dcb56d435ae1640c8a3256 \
                    sha256  7834d9adbc9a809e0fb0d7b486060a9ae5f7819eb7f55bb8c22b10d7b3bed8da \
                    size    186676

description         Heavily optimized library for DEFLATE/zlib/gzip \
                    compression and decompression

long_description    libdeflate is a library for fast, whole-buffer \
                    DEFLATE-based compression and decompression. It has \
                    support for the DEFLATE (raw), zlib (DEFLATE w/ zlib \
                    wrapper), and gzip (DEFLATE w/ gzip wrapper) formats. \
                    It is heavily optimized, and significantly faster than \
                    the zlib library, both for compression and decompression, \
                    and especially on x86 processors. In addition, libdeflate \
                    provides optional high compression modes that provide \
                    a better compression ratio than the zlib's \"level 9\".

categories          archivers devel
license             MIT
maintainers         {linux.com:nickblack @dankamongmen} \
                    {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

# https://github.com/ebiggers/libdeflate/commit/a83fb24e1cb0ec6b6fd53446c941013edf055192
compiler.blacklist-append   *gcc-4.* {clang < 800} {macports-clang-3.[0-8]}

# TODO: verify powerpc defs in common_defs.h
# https://github.com/ebiggers/libdeflate/issues/362
