# -*- 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-memcache categories-append net devel platforms darwin freebsd openbsd maintainers {ryandesign @ryandesign} openmaintainer license PHP-3 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 description PHP bindings for memcache long_description Memcached is a caching daemon designed especially for \ dynamic web applications to decrease database load by storing objects in memory. This extension allows you \ to work with memcached through handy OO and \ procedural interfaces. if {[vercmp ${php.branch} >= 8.0]} { version 8.2 revision 0 checksums rmd160 0b4188dd3342c93c67d7be3015c9ac2dfa75436f \ sha256 b3f0640eacdeb9046c6c86a1546d7fb8a4e9f219e5d9a36a287e59b2dd8208e5 \ size 78413 } elseif {[vercmp ${php.branch} >= 7.0]} { version 4.0.5.2 revision 0 checksums rmd160 abc9940d6930aad21014d147c8a713d63a658c3f \ sha256 7b7667813baea003671f174bbec849e43ff235a8ea4ab7e36c3a0380c2a9ed63 \ size 75061 } elseif {[vercmp ${php.branch} >= 4.3]} { # Despite all 3.x releases having been marked "beta" on PECL, # this is the last PHP 5 compatible branch and the one upstream # recommends PHP 5 users use. # https://github.com/websupport-sk/pecl-memcache/issues/92 version 3.0.8 revision 0 checksums rmd160 7749051d21236dc25aead56c43a00d6af39a5568 \ sha256 2cae5b423ffbfd33a259829849f6000d4db018debe3e29ecf3056f06642e8311 \ size 70523 patchfiles inline.patch \ IS_CALLABLE.patch \ ntohll.patch } if {${name} ne ${subport}} { depends_lib-append port:memcached port:zlib configure.args-append --with-zlib-dir=${prefix} }