Files
macports-ports/php/php-igbinary/Portfile
Bjarne D Mathiesen d64c7d9ab2 php-igbinary: add php8[4,5] support
- add patch to fix build failure
2026-03-22 10:56:44 -04:00

42 lines
1.7 KiB
Tcl

# -*- 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 php 1.1
name php-igbinary
categories-append net devel
license BSD PHP-3.01
platforms darwin freebsd openbsd
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh BjarneDMat} openmaintainer
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 8.4 8.5
php.pecl yes
if {[vercmp ${php.branch} >= 7.0]} {
version 3.2.16
revision 0
checksums rmd160 26d4b5ffddb6c2692b6bca70f1c1279a605d75bb \
sha256 8bf25d465abc7973d9e2c9a3039a5f8eea635b23bc1477017ff3999ff95836da \
size 103279
patch.pre_args-replace -p0 -p1
patchfiles-append \
patch-src_php7_php_igbinary.h.diff
} elseif {[vercmp ${php.branch} >= 5.2]} {
version 2.0.8
revision 0
checksums rmd160 ea29b28150104df01f26557c0465af4bf2819ece \
sha256 bacbab1172e073b1857dc07a486bfdaca6d60fbed678ce0f4b37cd018ef5b680 \
size 76708
}
description PHP serializer.
long_description Igbinary is a drop in replacement for the standard PHP \
serializer. Instead of time and space consuming textual \
representation, igbinary stores PHP data structures in \
a compact binary form. Savings are significant when \
using memcached or similar memory based storages for \
serialized data.
test.run yes