Files
2026-07-03 00:12:25 -04:00

92 lines
3.8 KiB
Tcl

# -*- 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 php 1.1
name php-xdebug
categories-append net devel
platforms darwin freebsd openbsd
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
license Xdebug-1.01
homepage https://xdebug.org
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
php.pecl yes
php.extensions.zend xdebug
# https://xdebug.org/docs/compat
if {[vercmp ${php.branch} >= 8.0]} {
version 3.5.3
revision 0
checksums rmd160 f4b0d6b2d35fcbecc2ad8103e3711c5e8654dc96 \
sha256 f073de91bea046106abf4d6071c963ea71e58571df6ce58948ceca89d121cb2d \
size 283968
} elseif {[vercmp ${php.branch} >= 7.2]} {
version 3.1.6
revision 0
checksums rmd160 19582e027f7cd1df26ce6f0017490224e784cfad \
sha256 554eca0b4d5b7b93cb2258fab0b0bd84cc8721e74322a2255c14e137cbcad5d2 \
size 232196
patchfiles patch-3.1.6-src_develop_develop.h.diff
} elseif {[vercmp ${php.branch} >= 7.1]} {
version 2.9.8
revision 0
checksums rmd160 27ffd5c15d9e4945f3c988029f985dbdcce2b93e \
sha256 f555b6cc58d96c9965af942d22e0f1818b7a477a410c76b1ab0eebe85a762f8a \
size 245293
patchfiles TCP_KEEPCNT-TCP_KEEPINTVL.patch
} elseif {[vercmp ${php.branch} >= 7.0]} {
epoch 1
version 2.7.2
revision 0
checksums rmd160 dd7784825909ac35288fdfda631f5318c768e688 \
sha256 b0f3283aa185c23fcd0137c3aaa58554d330995ef7a3421e983e8d018b05a4a6 \
size 230987
} elseif {[vercmp ${php.branch} >= 5.5]} {
version 2.5.5
revision 0
checksums rmd160 ad7939d2d2f453c0f2ccb12ce8f745db7163ad9d \
sha256 72108bf2bc514ee7198e10466a0fedcac3df9bbc5bd26ce2ec2dafab990bf1a4 \
size 279491
} elseif {[vercmp ${php.branch} >= 5.4]} {
version 2.4.1
revision 0
checksums rmd160 01ce20a7b785b5eb04fd90f5be516b89e6898f80 \
sha256 23c8786e0f5aae67b1e5035972bfff282710fb84c483887cebceb8ef5bbdf8ef \
size 265542
} else {
version 2.2.7
revision 0
checksums rmd160 ad0839b7d7d9751ef0c30eddf43890809bbd7e91 \
sha256 4fce7fc794ccbb1dd0b961191cd0323516e216502fe7209b03711fc621642245 \
size 256437
}
description php debugging extension
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.
extract.suffix .tgz
if {${name} ne ${subport}} {
configure.args --enable-xdebug
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}
"
}