Fetching contributors…
Cannot retrieve contributors at this time
58 lines (43 sloc) 1.96 KB
# -*- 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-gdchart
version 0.2.0
categories php devel
platforms darwin
maintainers ryandesign openmaintainer
license PHP
php.branches 5.3 5.4 5.5 5.6
php.pecl yes GDChart
php.pecl.prerelease yes
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
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/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} CREDITS README TODO ${destroot}${docdir}