# -*- 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
# $Id: Portfile 53652 2009-07-11 00:15:56Z ryandesign@macports.org $

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup apc 3.1.2 pecl
revision        3

categories      php devel
platforms       darwin
maintainers     nox openmaintainer
description     Alternative PHP Cache

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

distname        APC-${version}

checksums       md5     0a18cf164b3e044e27edd4c1d8c3145c \
                sha1    aebd866b06779814e9af5ae16948687347c50054 \
                rmd160  0e2b044e37e161fa449d5d27a72181205adf7e18

use_parallel_build  yes

build.args          EXTRA_INCLUDES=-I${prefix}/include

livecheck.regex {>(\d+(?:\.\d+)*)</a></th>}
