source: trunk/dports/php/php-memcached/Portfile

Last change on this file was 129642, checked in by ryandesign@…, 3 years ago

php-memcached: enable JSON support (#46262); remove igbinary variant in favor of always enabling igbinary support

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 129642 2014-12-17 18:57:56Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-memcached
8version                 2.1.0
9revision                1
10categories-append       net devel
11platforms               darwin freebsd openbsd
12maintainers             ryandesign openmaintainer
13license                 PHP-3
14
15php.branches            5.3 5.4 5.5 5.6
16php.pecl                yes
17
18description             PHP bindings for memcache
19
20long_description        Memcached is a caching daemon designed especially for \
21                        dynamic web applications to decrease database load by \
22                        storing objects in memory. This extension allows you \
23                        to work with memcached through handy OO and \
24                        procedural interfaces.
25
26checksums               rmd160  3b4159bcfac78288a93cb8b8194fb28643abd643 \
27                        sha256  bc4940015be74f47908d410d7b55e10a3d5bf65674036d944c73558227fcc4af
28
29if {${name} ne ${subport}} {
30    depends_lib-append      port:libmemcached \
31                            port:${php}-igbinary \
32                            port:zlib
33   
34    configure.args-append   --enable-memcached-igbinary \
35                            --enable-memcached-json \
36                            --with-libmemcached-dir=${prefix} \
37                            --with-zlib-dir=${prefix}
38}
Note: See TracBrowser for help on using the repository browser.