Files
2026-04-01 17:04:41 -05:00

48 lines
1.9 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-redis
categories-append databases
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
license PHP-3.01
# Compatible with PHP 8.4 as of 6.1.0
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.4]} {
version 6.3.0
revision 0
checksums rmd160 73e91b78a3af8a81b7eec99cf50e166a587fa1ce \
sha256 0d5141f634bd1db6c1ddcda053d25ecf2c4fc1c395430d534fd3f8d51dd7f0b5 \
size 399284
} elseif {[vercmp ${php.branch} >= 7.2]} {
version 6.0.2
revision 0
checksums rmd160 b33b7776af2b201331b7fe96cc1940d439f7d8f0 \
sha256 01aeccb0e14f897fe56f0509be6e6991ff0ad459f9d34e95e4556d02699b9a03 \
size 365966
} elseif {[vercmp ${php.branch} >= 7.0]} {
version 5.3.7
revision 0
checksums rmd160 30a49690358d520039a52c01979da20d0633252f \
sha256 b958166ccda4f40bd17c6998f9e2239021ae644467cd8ad5c15def420aad65b0 \
size 275200
} elseif {[vercmp ${php.branch} >= 5.3]} {
version 4.3.0
revision 0
checksums rmd160 e1888440b3446200fdc83e79f2aec873bd18b6b2 \
sha256 c0f04cec349960a842b60920fb8a433656e2e494eaed6e663397d67102a51ba2 \
size 241883
}
description an API for communicating with a Redis database from PHP
long_description ${name} is ${description}.
configure.args-append --enable-redis
use_parallel_build yes