Files
2026-03-30 10:20:07 -04:00

45 lines
1.5 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-rrd
categories-append net devel
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
license BSD
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
php.pecl yes
if {[vercmp ${php.branch} >= 7.0]} {
version 2.0.3
revision 1
checksums rmd160 8cffdcd5ee196c4d187d7c014edbcc817c31537f \
sha256 a42161e58cdc8a853b72cff298989dcbde82b0f76456dd59ce02854c92b730f7 \
size 19178
} else {
version 1.1.3
revision 2
checksums rmd160 dbef0cf56fc081f768f85d46fd185a750a42cef5 \
sha256 0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e \
size 19229
}
description PHP rrdtool extension
long_description ${name} is a procedural and simple object-oriented wrapper \
for PHP for using rrdtooldata logging and graphing system \
for time series data.
if {${name} ne ${subport}} {
if {[vercmp ${php.branch} >= 7.0]} {
depends_build-append \
path:bin/pkg-config:pkgconfig
}
depends_lib-append port:rrdtool \
port:libffi
configure.args --with-rrd=${prefix}
}