# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup php 1.1 name php-zstd categories-append devel maintainers {ryandesign @ryandesign} openmaintainer license MIT php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 description Zstandard compression long_description This extension allows Zstandard compression from PHP if {[vercmp ${php.branch} >= 7.0]} { github.setup kjdev php-ext-zstd 0.13.3 revision 0 checksums rmd160 0d731817627aec6fb5d60c1690ed06fdb3e83126 \ sha256 547f84759c2177f4415ae4a5d5066f09d2979f06aa2b3b4b97b42c0990a1efc5 \ size 21697 } elseif {[vercmp ${php.branch} >= 5.2]} { github.setup kjdev php-ext-zstd 0.11.0 revision 0 checksums rmd160 ba4ed77ec02699ef274ab14a818c6b899cd32343 \ sha256 5733663812e2729faf9d3c412cfa03ca11b4dbb1e780e2893ecba4ab1e7ab99e \ size 19785 } if {${name} ne ${subport}} { github.tarball_from archive if {[vercmp ${php.branch} >= 7.0]} { # If APCu is present at build time, a zstd serializer for APCu will be built. # https://github.com/kjdev/php-ext-zstd/issues/66 depends_build-append \ port:${php}-APCu } depends_lib-append port:zstd depends_build-append path:bin/pkg-config:pkgconfig configure.args-append --with-libzstd }