# -*- 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.3.1
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  bc484ff7a7f56dde13d9d6b0f71f1def2ea3d31f \
                    sha256  94cfa0a53a8265c813c8369d3963bf09ac6a357824ad1f93aee13486176e152e \
                    size    2446619

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
