# $Id$ PortSystem 1.0 PortGroup php5extension 1.0 php5extension.setup gdchart 0.2.0 pecl license PHP categories php devel platforms darwin maintainers ryandesign openmaintainer 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 methods. checksums md5 a8428e43616b6a5a40cb5f322acaf2be \ sha1 cf1071d5e9bba2ea0dc45fd172b22db68a66b953 \ rmd160 ae22aaa5b869a15677fc11d038ea0319179f056c depends_build-append \ port:gd2 depends_lib-append \ port:php5-gd configure.args \ --enable-gdchart=${prefix}/include/php/ext/gd configure.cppflags-append \ -DHAVE_LIBFREETYPE pre-configure { set fonts {Giant MediumBold Large Small Tiny} foreach font ${fonts} { configure.cppflags-append \ -DgdFont${font}=php_gd_gdFont${font} } } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} CREDITS README TODO ${destroot}${docdir} } livecheck.regex {(\d+(?:\.\d+)*)}