[62720] trunk/dports/php
nox at macports.org
nox at macports.org
Thu Jan 14 15:16:51 PST 2010
Revision: 62720
http://trac.macports.org/changeset/62720
Author: nox at macports.org
Date: 2010-01-14 15:16:48 -0800 (Thu, 14 Jan 2010)
Log Message:
-----------
Create new port php5-gdchart
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.
Added Paths:
-----------
trunk/dports/php/php5-gdchart/
trunk/dports/php/php5-gdchart/Portfile
Added: trunk/dports/php/php5-gdchart/Portfile
===================================================================
--- trunk/dports/php/php5-gdchart/Portfile (rev 0)
+++ trunk/dports/php/php5-gdchart/Portfile 2010-01-14 23:16:48 UTC (rev 62720)
@@ -0,0 +1,51 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup archcheck 1.0
+PortGroup php5extension 1.0
+
+php5extension.setup gdchart 0.2.0 pecl
+license PHP
+categories php devel
+platforms darwin
+maintainers nox 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 \
+ port:php5-gd
+
+depends_run \
+ 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+)*)</a></th>}
Property changes on: trunk/dports/php/php5-gdchart/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100114/3f54f11d/attachment.html>
More information about the macports-changes
mailing list