Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 12:30:03 GMT
From:      Nick Hilliard <nick@foobar.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78238: New Port: pear-Image_Graph: an OO PEAR graph rendering package
Message-ID:  <200503011230.j21CU3kl064611@muffin.acquirer.com>
Resent-Message-ID: <200503011230.j21CUHex040117@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78238
>Category:       ports
>Synopsis:       New Port: pear-Image_Graph: an OO PEAR graph rendering package
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 01 12:30:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hilliard
>Release:        FreeBSD 5.1-RELEASE-p16 i386
>Organization:
Network Ability ltd.
>Environment:
System: FreeBSD x.x.com 5.1-RELEASE-p16 FreeBSD 5.1-RELEASE-p16 #2: Thu Aug 19 11:43:30 IST 2004 nick@x.x.com:/src/current/src/sys/i386/compile/MUFFIN i386

>Description:

Image_Graph is a PHP based object oriented graph rendering package. It
provides a simple yet powerful API to allow a user/developer create
versatile graphs, charts and plots.

The current incarnation of Image_Graph is a merger of the former Sourceforge
package, GraPHPite, and the 'old' Image_Graph package from PEAR.

WWW: http://pear.php.net/package/Image_Graph/

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-Image_Graph
#	pear-Image_Graph/Makefile
#	pear-Image_Graph/distinfo
#	pear-Image_Graph/pkg-descr
#	pear-Image_Graph/pkg-plist
#	pear-Image_Graph/scripts
#	pear-Image_Graph/scripts/install-font-links.sh
#
echo c - pear-Image_Graph
mkdir -p pear-Image_Graph > /dev/null 2>&1
echo x - pear-Image_Graph/Makefile
sed 's/^X//' >pear-Image_Graph/Makefile << 'END-of-pear-Image_Graph/Makefile'
X# Ports collection makefile for:  pear-Image-Graph
X# Date created:			  01 March 2005
X# Whom:				  Nick Hilliard <nick@foobar.org>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	Image_Graph
XPORTVERSION=	0.3.0
XCATEGORIES=	graphics www pear
X
XMAINTAINER=	nick@foobar.org
XCOMMENT=	An OO PEAR graph rendering package
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${PEARDIR}/Image/Color.php:${PORTSDIR}/graphics/pear-Image_Color \
X		${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
X
X# TODO: add PDFLIB support as soon as the FreeBSD port of PHP supports it
X
XUSE_PHP=	gd ming
X
XCATEGORY=	Image
XFILES=		Graph.php Graph/Axis.php Graph/Color.php \
X		Graph/Common.php Graph/Config.php Graph/Constants.php \
X		Graph/DataPreprocessor.php Graph/DataSelector.php \
X		Graph/Dataset.php Graph/Driver.php Graph/Element.php \
X		Graph/Fill.php Graph/Font.php Graph/Grid.php \
X		Graph/Layout.php Graph/Legend.php Graph/Logo.php \
X		Graph/Marker.php Graph/Plot.php Graph/Plotarea.php \
X		Graph/Simple.php Graph/Title.php Graph/Tool.php \
X		Graph/Axis/Category.php Graph/Axis/Logarithmic.php \
X		Graph/Axis/Radar.php Graph/Axis/Marker/Area.php \
X		Graph/Axis/Marker/Line.php \
X		Graph/DataPreprocessor/Array.php \
X		Graph/DataPreprocessor/Currency.php \
X		Graph/DataPreprocessor/Date.php \
X		Graph/DataPreprocessor/Formatted.php \
X		Graph/DataPreprocessor/Function.php \
X		Graph/DataPreprocessor/NumberText.php \
X		Graph/DataPreprocessor/RomanNumerals.php \
X		Graph/DataPreprocessor/Sequential.php \
X		Graph/DataSelector/EveryNthPoint.php \
X		Graph/DataSelector/NoZeros.php Graph/Dataset/Function.php \
X		Graph/Dataset/Random.php Graph/Dataset/Sequential.php \
X		Graph/Dataset/Trivial.php Graph/Dataset/VectorFunction.php \
X		Graph/Driver/GD.php Graph/Driver/PDFlib.php \
X		Graph/Driver/SVG.php Graph/Driver/SWF.php \
X		Graph/Driver/GD/GIF.php Graph/Driver/GD/JPG.php \
X		Graph/Driver/GD/PNG.php Graph/Driver/GD/WBMP.php \
X		Graph/Figure/Circle.php Graph/Figure/Ellipse.php \
X		Graph/Figure/Polygon.php Graph/Figure/Rectangle.php \
X		Graph/Fill/Array.php Graph/Fill/Gradient.php \
X		Graph/Fill/Image.php Graph/Font/Extended.php \
X		Graph/Font/TTF.php Graph/Font/Vertical.php \
X		Graph/Grid/Bars.php Graph/Grid/Lines.php \
X		Graph/Grid/Polar.php Graph/Layout/Horizontal.php \
X		Graph/Layout/Matrix.php Graph/Layout/Vertical.php \
X		Graph/Line/Array.php Graph/Line/Dashed.php \
X		Graph/Line/Dotted.php Graph/Line/Formatted.php \
X		Graph/Line/Solid.php Graph/Marker/Array.php \
X		Graph/Marker/Asterisk.php Graph/Marker/Average.php \
X		Graph/Marker/Box.php Graph/Marker/Bubble.php \
X		Graph/Marker/Circle.php Graph/Marker/Cross.php \
X		Graph/Marker/Diamond.php Graph/Marker/Icon.php \
X		Graph/Marker/Pinpoint.php Graph/Marker/Plus.php \
X		Graph/Marker/Pointing.php Graph/Marker/ReversePinpoint.php \
X		Graph/Marker/Triangle.php Graph/Marker/Value.php \
X		Graph/Marker/Pointing/Angular.php \
X		Graph/Marker/Pointing/Radial.php Graph/Plot/Area.php \
X		Graph/Plot/Band.php Graph/Plot/Bar.php \
X		Graph/Plot/BoxWhisker.php Graph/Plot/CandleStick.php \
X		Graph/Plot/Dot.php Graph/Plot/Impulse.php \
X		Graph/Plot/Line.php Graph/Plot/Pie.php \
X		Graph/Plot/Radar.php Graph/Plot/Step.php \
X		Graph/Plot/Smoothed/Area.php \
X		Graph/Plot/Smoothed/Bezier.php \
X		Graph/Plot/Smoothed/Line.php Graph/Plot/Smoothed/Radar.php \
X		Graph/Plotarea/Element.php Graph/Plotarea/Map.php \
X		Graph/Plotarea/Radar.php
XFONTDIR=	${PEARDIR}/${CATEGORY}/Graph/Fonts
XXCONF=		/etc/xorg.conf /etc/XF86Config
X
XLATEST_LINK=	pear-Image_Graph
XOPTIONS=	TTF_FONTS "Link existing True Type fonts into package" on
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X
Xpost-install-script:
X	@${MKDIR} ${FONTDIR}
X	@${INSTALL_DATA} ${WRKSRC}/Graph/Fonts/fontmap.txt ${FONTDIR}/fontmap.txt
X	@${INSTALL_DATA} ${WRKSRC}/Graph/Fonts/fontmap.txt ${FONTDIR}/fontmap.txt-dist
X.if defined(WITH_TTF_FONTS)
X	@echo "linking fonts found in ${XCONF}.  If you install more TTF fonts,"
X	@echo "please run the install-font-links.sh in the 'scripts' directory."
X	@scripts/install-font-links.sh ${FONTDIR} ${XCONF}
X.endif
X
X.include <bsd.port.post.mk>
END-of-pear-Image_Graph/Makefile
echo x - pear-Image_Graph/distinfo
sed 's/^X//' >pear-Image_Graph/distinfo << 'END-of-pear-Image_Graph/distinfo'
XMD5 (PEAR/Image_Graph-0.3.0.tgz) = c2603540777bdbc30e02a0908ae5c629
XSIZE (PEAR/Image_Graph-0.3.0.tgz) = 145705
END-of-pear-Image_Graph/distinfo
echo x - pear-Image_Graph/pkg-descr
sed 's/^X//' >pear-Image_Graph/pkg-descr << 'END-of-pear-Image_Graph/pkg-descr'
XImage_Graph is a PHP based object oriented graph rendering package. It
Xprovides a simple yet powerful API to allow a user/developer create
Xversatile graphs, charts and plots.
X
XThe current incarnation of Image_Graph is a merger of the former Sourceforge
Xpackage, GraPHPite, and the 'old' Image_Graph package from PEAR.
X
XWWW: http://pear.php.net/package/Image_Graph/
END-of-pear-Image_Graph/pkg-descr
echo x - pear-Image_Graph/pkg-plist
sed 's/^X//' >pear-Image_Graph/pkg-plist << 'END-of-pear-Image_Graph/pkg-plist'
X%%PKGREGDIR%%/package.xml
X%%PEARDIR%%/Image/Graph/Fonts/fontmap.txt
X%%PEARDIR%%/Image/Graph/Fonts/fontmap.txt-dist
X%%PEARDIR%%/Image/Graph/Axis/Marker/Area.php
X%%PEARDIR%%/Image/Graph/Axis/Marker/Line.php
X%%PEARDIR%%/Image/Graph/Axis/Category.php
X%%PEARDIR%%/Image/Graph/Axis/Logarithmic.php
X%%PEARDIR%%/Image/Graph/Axis/Radar.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/Array.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/Currency.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/Date.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/Formatted.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/Function.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/NumberText.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/RomanNumerals.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor/Sequential.php
X%%PEARDIR%%/Image/Graph/DataSelector/EveryNthPoint.php
X%%PEARDIR%%/Image/Graph/DataSelector/NoZeros.php
X%%PEARDIR%%/Image/Graph/Dataset/Function.php
X%%PEARDIR%%/Image/Graph/Dataset/Random.php
X%%PEARDIR%%/Image/Graph/Dataset/Sequential.php
X%%PEARDIR%%/Image/Graph/Dataset/Trivial.php
X%%PEARDIR%%/Image/Graph/Dataset/VectorFunction.php
X%%PEARDIR%%/Image/Graph/Driver/GD/GIF.php
X%%PEARDIR%%/Image/Graph/Driver/GD/JPG.php
X%%PEARDIR%%/Image/Graph/Driver/GD/PNG.php
X%%PEARDIR%%/Image/Graph/Driver/GD/WBMP.php
X%%PEARDIR%%/Image/Graph/Driver/GD.php
X%%PEARDIR%%/Image/Graph/Driver/PDFlib.php
X%%PEARDIR%%/Image/Graph/Driver/SVG.php
X%%PEARDIR%%/Image/Graph/Driver/SWF.php
X%%PEARDIR%%/Image/Graph/Figure/Circle.php
X%%PEARDIR%%/Image/Graph/Figure/Ellipse.php
X%%PEARDIR%%/Image/Graph/Figure/Polygon.php
X%%PEARDIR%%/Image/Graph/Figure/Rectangle.php
X%%PEARDIR%%/Image/Graph/Fill/Array.php
X%%PEARDIR%%/Image/Graph/Fill/Gradient.php
X%%PEARDIR%%/Image/Graph/Fill/Image.php
X%%PEARDIR%%/Image/Graph/Font/Extended.php
X%%PEARDIR%%/Image/Graph/Font/TTF.php
X%%PEARDIR%%/Image/Graph/Font/Vertical.php
X%%PEARDIR%%/Image/Graph/Grid/Bars.php
X%%PEARDIR%%/Image/Graph/Grid/Lines.php
X%%PEARDIR%%/Image/Graph/Grid/Polar.php
X%%PEARDIR%%/Image/Graph/Layout/Horizontal.php
X%%PEARDIR%%/Image/Graph/Layout/Matrix.php
X%%PEARDIR%%/Image/Graph/Layout/Vertical.php
X%%PEARDIR%%/Image/Graph/Line/Array.php
X%%PEARDIR%%/Image/Graph/Line/Dashed.php
X%%PEARDIR%%/Image/Graph/Line/Dotted.php
X%%PEARDIR%%/Image/Graph/Line/Formatted.php
X%%PEARDIR%%/Image/Graph/Line/Solid.php
X%%PEARDIR%%/Image/Graph/Marker/Pointing/Angular.php
X%%PEARDIR%%/Image/Graph/Marker/Pointing/Radial.php
X%%PEARDIR%%/Image/Graph/Marker/Array.php
X%%PEARDIR%%/Image/Graph/Marker/Asterisk.php
X%%PEARDIR%%/Image/Graph/Marker/Average.php
X%%PEARDIR%%/Image/Graph/Marker/Box.php
X%%PEARDIR%%/Image/Graph/Marker/Bubble.php
X%%PEARDIR%%/Image/Graph/Marker/Circle.php
X%%PEARDIR%%/Image/Graph/Marker/Cross.php
X%%PEARDIR%%/Image/Graph/Marker/Diamond.php
X%%PEARDIR%%/Image/Graph/Marker/Icon.php
X%%PEARDIR%%/Image/Graph/Marker/Pinpoint.php
X%%PEARDIR%%/Image/Graph/Marker/Plus.php
X%%PEARDIR%%/Image/Graph/Marker/Pointing.php
X%%PEARDIR%%/Image/Graph/Marker/ReversePinpoint.php
X%%PEARDIR%%/Image/Graph/Marker/Triangle.php
X%%PEARDIR%%/Image/Graph/Marker/Value.php
X%%PEARDIR%%/Image/Graph/Plot/Smoothed/Area.php
X%%PEARDIR%%/Image/Graph/Plot/Smoothed/Bezier.php
X%%PEARDIR%%/Image/Graph/Plot/Smoothed/Line.php
X%%PEARDIR%%/Image/Graph/Plot/Smoothed/Radar.php
X%%PEARDIR%%/Image/Graph/Plot/Area.php
X%%PEARDIR%%/Image/Graph/Plot/Band.php
X%%PEARDIR%%/Image/Graph/Plot/Bar.php
X%%PEARDIR%%/Image/Graph/Plot/BoxWhisker.php
X%%PEARDIR%%/Image/Graph/Plot/CandleStick.php
X%%PEARDIR%%/Image/Graph/Plot/Dot.php
X%%PEARDIR%%/Image/Graph/Plot/Impulse.php
X%%PEARDIR%%/Image/Graph/Plot/Line.php
X%%PEARDIR%%/Image/Graph/Plot/Pie.php
X%%PEARDIR%%/Image/Graph/Plot/Radar.php
X%%PEARDIR%%/Image/Graph/Plot/Step.php
X%%PEARDIR%%/Image/Graph/Plotarea/Element.php
X%%PEARDIR%%/Image/Graph/Plotarea/Map.php
X%%PEARDIR%%/Image/Graph/Plotarea/Radar.php
X%%PEARDIR%%/Image/Graph/Axis.php
X%%PEARDIR%%/Image/Graph/Color.php
X%%PEARDIR%%/Image/Graph/Common.php
X%%PEARDIR%%/Image/Graph/Config.php
X%%PEARDIR%%/Image/Graph/Constants.php
X%%PEARDIR%%/Image/Graph/DataPreprocessor.php
X%%PEARDIR%%/Image/Graph/DataSelector.php
X%%PEARDIR%%/Image/Graph/Dataset.php
X%%PEARDIR%%/Image/Graph/Driver.php
X%%PEARDIR%%/Image/Graph/Element.php
X%%PEARDIR%%/Image/Graph/Fill.php
X%%PEARDIR%%/Image/Graph/Font.php
X%%PEARDIR%%/Image/Graph/Grid.php
X%%PEARDIR%%/Image/Graph/Layout.php
X%%PEARDIR%%/Image/Graph/Legend.php
X%%PEARDIR%%/Image/Graph/Logo.php
X%%PEARDIR%%/Image/Graph/Marker.php
X%%PEARDIR%%/Image/Graph/Plot.php
X%%PEARDIR%%/Image/Graph/Plotarea.php
X%%PEARDIR%%/Image/Graph/Simple.php
X%%PEARDIR%%/Image/Graph/Title.php
X%%PEARDIR%%/Image/Graph/Tool.php
X%%PEARDIR%%/Image/Graph.php
X@dirrm %%PEARDIR%%/Image/Graph/Axis/Marker
X@dirrm %%PEARDIR%%/Image/Graph/Axis
X@dirrm %%PEARDIR%%/Image/Graph/DataPreprocessor
X@dirrm %%PEARDIR%%/Image/Graph/DataSelector
X@dirrm %%PEARDIR%%/Image/Graph/Dataset
X@dirrm %%PEARDIR%%/Image/Graph/Driver/GD
X@dirrm %%PEARDIR%%/Image/Graph/Driver
X@dirrm %%PEARDIR%%/Image/Graph/Figure
X@dirrm %%PEARDIR%%/Image/Graph/Fill
X@dirrm %%PEARDIR%%/Image/Graph/Font
X@dirrm %%PEARDIR%%/Image/Graph/Grid
X@dirrm %%PEARDIR%%/Image/Graph/Layout
X@dirrm %%PEARDIR%%/Image/Graph/Line
X@dirrm %%PEARDIR%%/Image/Graph/Marker/Pointing
X@dirrm %%PEARDIR%%/Image/Graph/Marker
X@dirrm %%PEARDIR%%/Image/Graph/Plot/Smoothed
X@dirrm %%PEARDIR%%/Image/Graph/Plot
X@dirrm %%PEARDIR%%/Image/Graph/Plotarea
X@dirrm %%PEARDIR%%/Image/Graph/Fonts/
X@dirrm %%PEARDIR%%/Image/Graph
X@dirrm %%PKGREGDIR%%
END-of-pear-Image_Graph/pkg-plist
echo c - pear-Image_Graph/scripts
mkdir -p pear-Image_Graph/scripts > /dev/null 2>&1
echo x - pear-Image_Graph/scripts/install-font-links.sh
sed 's/^X//' >pear-Image_Graph/scripts/install-font-links.sh << 'END-of-pear-Image_Graph/scripts/install-font-links.sh'
X#!/bin/sh
X
Xcd $1
X
Xshift
Xfonts=$*
X
Xfor fontdirectory in `grep FontPath ${fonts} | cut -d'"' -f2 | cut -d'"' -f1 | fmt -8192`; do
X	for fontfile in `(find ${fontdirectory} -name \*.\[Tt\]\[Tt\]\[Ff\] ) 2> /dev/null| fmt -8192`; do
X		ln -s ${fontfile} ${FONTDIR}
X	done
Xdone
END-of-pear-Image_Graph/scripts/install-font-links.sh
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503011230.j21CU3kl064611>