# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           php 1.1

name                php-APC
epoch               1
# 3.1.14 was recalled: https://bugs.php.net/bug.php?id=64116
version             3.1.13
categories          php devel
platforms           darwin
maintainers         ryandesign openmaintainer
license             PHP-3.01

php.branches        5.3 5.4
php.pecl            yes
php.pecl.prerelease yes

description         Alternative PHP Cache

long_description    APC is a free, open, and robust framework for caching and \
                    optimizing PHP intermediate code.

checksums           rmd160  128bc0c81c09bab5586ba09dc10fbe846ff60cb1 \
                    sha256  5ef8ba07729e72946e95951672a5378bed98cb5a294e79bf0f0a97ac62829abd

if {${name} ne ${subport}} {
    conflicts       ${php}-APCu ${php}-eaccelerator ${php}-xcache
    
    configure.args-append --enable-apc-spinlocks
    
    use_parallel_build  yes
}