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

github.setup        zlib-ng zlib-ng 2.2.4
github.tarball_from archive
revision            0

description         \
    zlib replacement with optimizations for \"next generation\" systems.

long_description    \
    {*}${description} \
    Features: \
    - Zlib compatible API with support for dual-linking \
    - Modernized native API based on zlib API for ease of porting \
    - Modern C11 syntax and a clean code layout \
    - Deflate medium and quick algorithms based on Intel\’s zlib fork \
    - Support for CPU intrinsics when available \
    - Unaligned memory read/writes and large bit buffer improvements \
    - Includes improvements from Cloudflare and Intel forks \
    - Configure, CMake, and NMake build system support \
    - Comprehensive set of CMake unit tests \
    - Code sanitizers, fuzzing, and coverage \
    - GitHub Actions continuous integration on Windows, macOS, and Linux \
    - Emulated CI for ARM, AARCH64, PPC, PPC64, RISCV, SPARC64, S390x using \
      qemu

categories          archivers
license             Zlib
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  b92c96b4272a76bc0d13b291f1dbe2849ec5b90b \
                    sha256  a73343c3093e5cdc50d9377997c3815b878fd110bf6511c2c7759f2afb90f5a3 \
                    size    2415754

depends_build-append    path:bin/git:git

# Target "cmTC_bb7a2" requires the language dialect "C11"
compiler.c_standard     2011
# Undefined symbols: "__ZN7testing8internal23InsertSyntheticTestCaseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_12CodeLocationEb"
compiler.cxx_standard   2011
