# -*- 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
# $Id: Portfile 119578 2014-05-01 02:43:29Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     xdebug 2.2.5
php5extension.type      zend
categories-append       net devel
platforms               darwin freebsd openbsd
maintainers             ryandesign openmaintainer
license                 Xdebug-1.01

homepage                http://www.xdebug.org/
master_sites            ${homepage}files/

description             php5 extension for php debugging

long_description        Xdebug is a php extension that helps you debug your \
                        scripts. It provides valuable debug information, \
                        including error stack traces and memory allocation \
                        summaries. It can generate profiling information \
                        about your php scripts, to be used for script \
                        execution analysis and optimization. It also supports \
                        debugging interactively using the dbg debug client.

checksums               rmd160  446521cb02afb0b8640bf08a89070560b2a0b07e \
                        sha256  adc6fe92dcff2368be94d20a5997aadb4d46d74551e2dd6602a704a35a195a6f

extract.suffix          .tgz

configure.args          --enable-xdebug \
                        --with-php-config=${prefix}/bin/php-config

set xdebug_docs         ${homepage}docs/
notes "
You can get a list of the available configuration settings for xdebug\
with the following command:

    php --ri xdebug

For more information and details about configuration settings, see\
${xdebug_docs}
"

livecheck.type          regex
livecheck.url           http://www.xdebug.org/updates.php
livecheck.regex         {Xdebug (\d+(\.\d+)*)<}
