# -*- 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-memcached 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 if {[vercmp ${php.branch} >= 7.0]} { version 3.3.0 revision 0 checksums rmd160 87ea4ff09ee78c96bf9f648435fe0ad65b200bc9 \ sha256 2b85bf6699497170801fb4d06eb9c9a06bfc551cdead04101dd75c980be9eebf \ size 92669 } else { version 2.2.0 revision 0 checksums rmd160 0c620458aadc0f055caab2a18bd6e700b0e7aec6 \ sha256 17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58 \ size 70449 } 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 {${name} ne ${subport}} { depends_build-append path:bin/pkg-config:pkgconfig depends_lib-append port:libmemcached \ port:${php}-igbinary \ port:zlib configure.args-append --disable-memcached-msgpack \ --disable-memcached-protocol \ --enable-memcached \ --enable-memcached-igbinary \ --enable-memcached-json \ --with-libmemcached-dir=${prefix} \ --with-zlib-dir=${prefix} }