# -*- 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 92229 2012-04-22 08:37:18Z ryandesign@macports.org $

PortSystem              1.0
PortGroup               php5extension 1.0

php5extension.setup     xdebug 2.1.4
php5extension.type      zend
categories-append       net devel
platforms               darwin freebsd openbsd
maintainers             nomaintainer
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  3d634e3848844b68089b936520ce742e0c007e61 \
                        sha256  9e56728593e4070311b0b19ab3418a34563406d9d40b7cb3eb1ce72d670360be

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+)*)<}
