# -*- 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
maintainers ryandesign openmaintainer
php.branches 5.3 5.4 5.5 5.6
description GDChart Based Graphing Interface
long_description The GDChart extension provides an interface to the \
bundled gdchart library. This library uses GD (bundled) \
library to generate 20 different types of graphs based \
on supplied parameters. The extension provides an OO \
interface to gdchart exposing majority of options via \
properties and complex (array) options via a series of \
checksums md5 a8428e43616b6a5a40cb5f322acaf2be \
sha1 cf1071d5e9bba2ea0dc45fd172b22db68a66b953 \
rmd160 ae22aaa5b869a15677fc11d038ea0319179f056c
distname gdchart-${version}
if {${name} ne ${subport}} {
depends_build-append port:gd2
depends_lib-append port:${php}-gd
patchfiles patch-gdchart.c.diff
configure.args --enable-gdchart=${prefix}/include/${php}/php/ext/gd
configure.cppflags-append -DHAVE_LIBFREETYPE
set fonts {Giant MediumBold Large Small Tiny}
configure.cppflags-append -DgdFont${font}=php_gd_gdFont${font}
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} CREDITS README TODO ${destroot}${docdir}