# -*- 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} 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
php.pecl            yes

if {[vercmp ${php.branch} >= 7.0]} {
    version         3.2.16
    revision        0
    checksums       rmd160  26d4b5ffddb6c2692b6bca70f1c1279a605d75bb \
                    sha256  8bf25d465abc7973d9e2c9a3039a5f8eea635b23bc1477017ff3999ff95836da \
                    size    103279
} 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
