# -*- 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 115975 2014-01-15 20:39:59Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           php 1.1

name                php-rrd
version             1.1.3
categories-append   net devel
platforms           darwin
maintainers         ryandesign openmaintainer
license             BSD

php.branches        5.3 5.4 5.5
php.pecl            yes

description         PHP rrdtool extension

long_description    ${name} is a procedural and simple object-oriented wrapper \
                    for PHP for using rrdtool—data logging and graphing system \
                    for time series data.

checksums           rmd160  dbef0cf56fc081f768f85d46fd185a750a42cef5 \
                    sha256  0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e

if {${name} ne ${subport}} {
    depends_lib-append  port:rrdtool \
                        port:libffi
    
    configure.args      --with-rrd=${prefix}
}
