Files
2026-03-30 06:47:14 -04:00

52 lines
1.9 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 github 1.0
PortGroup php 1.1
name php-meminfo
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
license MIT
php.branches 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
if {[vercmp ${php.branch} >= 5.6]} {
github.setup BitOne php-meminfo 1.1.1 v
revision 0
checksums rmd160 d068130880af718b06d6048d75882523362b27fe \
sha256 62ad67085e5fed0bc5b82fa0340f8348babc0c9c8a57fd36a685a3b7871dbaa3 \
size 27719
if {[vercmp ${php.branch} >= 8.0]} {
patchfiles php8.patch
}
} else {
github.setup BitOne php-meminfo 1.0.5 v
revision 0
checksums rmd160 717c31724b6af6b6542d3addb0019076533b483d \
sha256 2ec43a16ebd7db4f93397e97d4c8b23840e3c3553913664c9abd6d0a1455d8b9 \
size 26068
}
description extension to examine PHP memory contents
long_description PHP Meminfo is a PHP extension that gives you \
insights on the PHP memory content. \
Its main goal is to help you understand memory \
leaks: by looking at data present in memory, \
you can better understand your application \
behaviour.
github.tarball_from archive
if {${name} ne ${subport}} {
if {[vercmp ${php.branch} < 7.0]} {
set dir php5
} else {
set dir php7
}
php.build_dirs ${worksrcpath}/extension/${dir}
configure.args --enable-meminfo
}