summaryrefslogtreecommitdiff
path: root/graphics/pear-Image_Graph/Makefile
blob: e7ee40fee457109b50c1b2e532f37a3d270b6c0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Ports collection makefile for:  pear-Image-Graph
# Date created:			  01 March 2005
# Whom:				  Nick Hilliard <nick@foobar.org>
#
# $FreeBSD$
#

PORTNAME=	Image_Graph
PORTVERSION=	0.7.1
CATEGORIES=	graphics www pear

MAINTAINER=	nick@foobar.org
COMMENT=	An OO PEAR graph rendering package

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=	${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log \
		${PEARDIR}/Image/Canvas.php:${PORTSDIR}/graphics/pear-Image_Canvas

USE_REINPLACE=	yes

CATEGORY=	Image
FILES=		Graph.php Graph/Axis.php Graph/Common.php Graph/Config.php \
		Graph/Constants.php Graph/DataPreprocessor.php \
		Graph/DataSelector.php Graph/Dataset.php  Graph/Element.php \
		Graph/Fill.php Graph/Font.php Graph/Grid.php \
		Graph/Layout.php Graph/Legend.php Graph/Logo.php \
		Graph/Marker.php Graph/Plot.php Graph/Plotarea.php \
		Graph/Simple.php Graph/Title.php Graph/Tool.php \
		Graph/Axis/Category.php Graph/Axis/Logarithmic.php \
		Graph/Axis/Radar.php Graph/Axis/Marker/Area.php \
		Graph/Axis/Marker/Line.php Graph/DataPreprocessor/Array.php \
		Graph/DataPreprocessor/Currency.php \
		Graph/DataPreprocessor/Date.php \
		Graph/DataPreprocessor/Formatted.php \
		Graph/DataPreprocessor/Function.php \
		Graph/DataPreprocessor/NumberText.php \
		Graph/DataPreprocessor/RomanNumerals.php \
		Graph/DataPreprocessor/Sequential.php \
		Graph/Dataset/Function.php Graph/Dataset/Random.php \
		Graph/Dataset/Sequential.php Graph/Dataset/Trivial.php \
		Graph/Dataset/VectorFunction.php \
		Graph/DataSelector/EveryNthPoint.php \
		Graph/DataSelector/NoZeros.php Graph/DataSelector/Values.php \
		Graph/Figure/Circle.php Graph/Figure/Ellipse.php \
		Graph/Figure/Polygon.php Graph/Figure/Rectangle.php \
		Graph/Fill/Array.php Graph/Fill/Gradient.php \
		Graph/Fill/Image.php Graph/Grid/Bars.php \
		Graph/Grid/Lines.php Graph/Grid/Polar.php \
		Graph/Images/Icons/pinpoint.png \
		Graph/Images/Icons/pinpointr.png Graph/Images/Maps/README \
		Graph/Layout/Horizontal.php \
		Graph/Layout/Matrix.php Graph/Layout/Vertical.php \
		Graph/Line/Array.php Graph/Line/Dashed.php \
		Graph/Line/Dotted.php Graph/Line/Formatted.php \
		Graph/Line/Solid.php Graph/Marker/Array.php \
		Graph/Marker/Asterisk.php Graph/Marker/Average.php \
		Graph/Marker/Box.php Graph/Marker/Bubble.php \
		Graph/Marker/Circle.php Graph/Marker/Cross.php \
		Graph/Marker/Diamond.php Graph/Marker/Icon.php \
		Graph/Marker/Pinpoint.php Graph/Marker/Plus.php \
		Graph/Marker/Pointing.php Graph/Marker/ReversePinpoint.php \
		Graph/Marker/Star.php Graph/Marker/Triangle.php \
		Graph/Marker/Value.php Graph/Marker/Pointing/Angular.php \
		Graph/Marker/Pointing/Radial.php Graph/Plot/Area.php \
		Graph/Plot/Band.php Graph/Plot/Bar.php \
		Graph/Plot/BoxWhisker.php Graph/Plot/CandleStick.php \
		Graph/Plot/Dot.php Graph/Plot/Impulse.php \
		Graph/Plot/Line.php Graph/Plot/Odo.php Graph/Plot/Pie.php \
		Graph/Plot/Radar.php Graph/Plot/Step.php \
		Graph/Plot/Fit/Line.php Graph/Plot/Smoothed/Area.php \
		Graph/Plot/Smoothed/Bezier.php Graph/Plot/Smoothed/Line.php \
		Graph/Plot/Smoothed/Radar.php \
		Graph/Plotarea/Element.php Graph/Plotarea/Map.php \
		Graph/Plotarea/Radar.php

TESTS=		freetype.php gd.php README axis/category.php \
		axis/intersection.php axis/intersection_secondary_axis.php \
		axis/inversion.php axis/labelinterval.php \
		axis/logarithmic.php plot/area.php plot/bar.php \
		plot/impulse.php plot/line.php plot/step.php \
		plot/horizontal/area.php plot/horizontal/bar.php \
		plot/horizontal/impulse.php plot/horizontal/line.php \
		plot/horizontal/step.php

DOCS=		ChangeLog colors.txt LICENSE README examples/antialias.php  \
		examples/axis_direction.php \
		examples/category_axis_explanation.php \
		examples/color_chart.php \
		examples/customize.php \
		examples/datapreprocessor.php \
		examples/double_category_axis.php \
		examples/driver_filepdf.php \
		examples/driver_pdf.php \
		examples/driver_png_svg.php \
		examples/driver_swf01.php \
		examples/driver_swf02.php \
		examples/driver_swf03.php \
		examples/frontpage_sample.php \
		examples/gradient_fill_area.php \
		examples/gradient_pie.php \
		examples/horizontal.php \
		examples/gradient_step.php \
		examples/html_image_map.php \
		examples/imagemap.png \
		examples/image_fill.php \
		examples/index.html \
		examples/layout_matrix.php \
		examples/line_break.php \
		examples/logo_graph.php \
		examples/log_axis.php \
		examples/log_axis_intersect.php \
		examples/manual_labels.php \
		examples/misc01.php \
		examples/misc02.php \
		examples/misc03.php \
		examples/misc04.php \
		examples/misc05.php \
		examples/misc06.php \
		examples/multiple_plots.php \
		examples/negative_values.php \
		examples/plot_all.php \
		examples/plot_area.php \
		examples/plot_all_horizontal.php \
		examples/plot_all_horizontal_invert.php \
		examples/plot_area_smooth.php \
		examples/plot_area_stack.php \
		examples/plot_band.php \
		examples/plot_bar.php \
		examples/plot_bar_horizontal.php \
		examples/plot_bar_multiple.php \
		examples/plot_bar_stacked.php \
		examples/plot_bar_stacked100pct.php \
		examples/plot_bar_stacked_horizontal.php \
		examples/plot_bar_stacked_negative.php \
		examples/plot_boxwhisker.php \
		examples/plot_candlestick.php \
		examples/plot_impulse.php \
		examples/plot_line.php \
		examples/plot_impulse_stacked.php \
		examples/plot_line_smooth.php \
		examples/plot_map.php \
		examples/plot_odo.php \
		examples/plot_pie.php \
		examples/plot_pie_rotate.php \
		examples/plot_radar.php \
		examples/plot_radar_smooth.php \
		examples/plot_scatter.php \
		examples/plot_scatter_linefit.php \
		examples/plot_step.php \
		examples/secondary_axis.php \
		examples/simple.php \
		examples/simple_graph.php \
		examples/small_pie_plot.php \
		examples/vector_function.php \
		examples/data/colors.txt \
		examples/images/audi-tt-coupe.jpg \
		examples/images/audi.png \
		examples/images/bmw.png \
		examples/images/coins.png \
		examples/images/mercedes.png \
		examples/images/modify.jpg \
		examples/images/mountain.jpg \
		examples/images/porsche.png

LATEST_LINK=	pear-Image_Graph

post-patch:
.for file in ${FILES}
	@${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}
.endfor

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"

.include <bsd.port.post.mk>