# -*- 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           github 1.0
PortGroup           php 1.1

github.setup        eaccelerator eaccelerator 0.9.6.1
name                php-eaccelerator
revision            16
categories          php www devel
platforms           darwin freebsd openbsd
maintainers         {ryandesign @ryandesign} openmaintainer
license             GPL-2+

php.branches        5.3

description         php5 extension for PHP acceleration, optimization, and \
                    dynamic content caching
long_description    eAccelerator is a free open-source PHP accelerator, \
                    optimizer, and dynamic content cache. It increases the \
                    performance of PHP scripts by caching them in their \
                    compiled state, so that the overhead of compiling is \
                    almost completely eliminated. It also optimizes scripts \
                    to speed up their execution. eAccelerator typically \
                    reduces server load and increases the speed of your PHP \
                    code by 1-10 times.

homepage            http://eaccelerator.net/
github.tarball_from downloads

checksums           rmd160  6a16ab377ec124a27e26a5fdc1fd6ada845695bd \
                    sha256  33703ad1678cdb65ef0cd28fbd2e262ef5d9f201f9016de26b7254987deba53c \
                    size    106049

use_bzip2           yes

if {${name} ne ${subport}} {
    conflicts       ${php}-APC ${php}-APCu ${php}-xcache
    
    variant shared_memory description {Enable shared memory access functions (only enable in trusted environments)} {
        configure.args-append --with-eaccelerator-shared-memory
    }
    
    variant disassembler description {Include a disassembler} {
        configure.args-append --with-eaccelerator-disassembler
    }
}

livecheck.type      none