Update to p5-GD-Graph3d-0.59, from Jim Geovedi with minor tweaks from me

This commit is contained in:
avsm 2002-09-21 11:56:31 +00:00
parent 9cb69eb8b6
commit 585efc683a
5 changed files with 27 additions and 42 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.9 2002/07/10 20:48:14 avsm Exp $ # $OpenBSD: Makefile,v 1.10 2002/09/21 11:56:31 avsm Exp $
COMMENT= "module for 3D graph plotting" COMMENT= "module for 3D graph plotting"
DISTNAME= GDGraph3d-0.55 DISTNAME= GD-Graph3d-0.59
PKGNAME= p5-GD-Graph3d-0.55 PKGNAME= p5-${DISTNAME}
CATEGORIES= graphics perl5 CATEGORIES= graphics perl5
NEED_VERSION= 1.515
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/} MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
BUILD_DEPENDS= :p5-GD-Graph->=1.30:graphics/p5-GD-Graph BUILD_DEPENDS= :p5-GD-Graph->=1.30:graphics/p5-GD-Graph
RUN_DEPENDS= ${BUILD_DEPENDS} RUN_DEPENDS= ${BUILD_DEPENDS}
@ -18,4 +18,7 @@ PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl CONFIGURE_STYLE= perl
pre-patch:
@perl -pi -e 's/\r//' ${WRKSRC}/lib/GD/Graph3d.pm
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (GDGraph3d-0.55.tar.gz) = 209adb88cb6595834cffde6bf2ffb8c6 MD5 (GD-Graph3d-0.59.tar.gz) = cab629741a0e62b940c671957bdfa2be
RMD160 (GDGraph3d-0.55.tar.gz) = 2a79464beec9cdb8afa49e3b0367316d5c25c9e6 RMD160 (GD-Graph3d-0.59.tar.gz) = de193855384f3234d8af00d6ff84e5c6a20cd6df
SHA1 (GDGraph3d-0.55.tar.gz) = 625ef568e515ac3bc57655a652aecf623d56a63c SHA1 (GD-Graph3d-0.59.tar.gz) = c66d115e12e22db5e4c090d079993b282c6e7e0b

View File

@ -1,35 +1,17 @@
$OpenBSD: patch-lib_GD_Graph3d_pm,v 1.1 2001/01/08 23:16:00 avsm Exp $ $OpenBSD: patch-lib_GD_Graph3d_pm,v 1.2 2002/09/21 11:56:31 avsm Exp $
--- lib/GD/Graph3d.pm.orig Mon Oct 9 18:00:25 2000 --- lib/GD/Graph3d.pm.orig Fri Dec 7 06:44:54 2001
+++ lib/GD/Graph3d.pm Mon Jan 8 22:51:24 2001 +++ lib/GD/Graph3d.pm Wed Sep 18 09:56:45 2002
@@ -22,12 +22,12 @@ GD::Graph3D - Create 3D Graphs with GD a @@ -24,12 +24,12 @@ GD::Graph3D - Create 3D Graphs with GD a
["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
[ 1203, 3500, 3973, 2859, 3012, 3423, 1230] [ 1203, 3500, 3973, 2859, 3012, 3423, 1230]
); );
+ $graph = GD::Graph::moduleName->new( 400, 300 ); - my $graph = new GD::Graph::moduleName( 400, 300 );
$graph->set( $graph->set(
x_label => 'Day of the week', x_label => 'Day of the week',
y_label => 'Number of hits', y_label => 'Number of hits',
title => 'Daily Summary of Web Site', title => 'Daily Summary of Web Site',
); );
- $graph = GD::Graph::moduleName->new( 400, 300 ); + my $graph = new GD::Graph::moduleName( 400, 300 );
my $gd = $graph->plot( \@data ); my $gd = $graph->plot( \@data );
Where I<moduleName> is one of C<bars3d>, C<lines3d> or C<pie3d>. Where I<moduleName> is one of C<bars3d>, C<lines3d> or C<pie3d>.
@@ -78,7 +78,7 @@ each other, that is the series are stack
By default this is set to '1' and will shade and highlight the bars (and axes).
The light source is at top-left-center which scan well for most computer
-users. You can disable the shading of bars and axes by specifiying a false
+users. You can disable the shading of bars and axes by specifying a false
value for this option.
=back
@@ -110,7 +110,7 @@ value for this option.
=head1 VERSION
-0.54 (Septemnber 4, 2000)
+0.55 (October 9, 2000)
=head1 INSTALLATION

View File

@ -1,6 +1,6 @@
This is the GD::Graph3d extension module. It provides 3D graphs This is the GD::Graph3d extension module. It provides 3D graphs for
for the GD::Graph module by Martien Verbruggen, which in turn the GD::Graph module by Martien Verbruggen, which in turn generates
generates graphs using Lincoln Stein's GD.pm. graphs using Lincoln Stein's GD.pm.
You use these modules just as you would any of the GD::Graph You use these modules just as you would any of the GD::Graph modules,
modules, except that they generate 3D-looking graphs. except that they generate 3D-looking graphs.

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2002/04/16 19:25:04 espie Exp $ @comment $OpenBSD: PLIST,v 1.4 2002/09/21 11:56:31 avsm Exp $
libdata/perl5/site_perl/GD/Graph/axestype3d.pm ${P5SITE}/GD/Graph/axestype3d.pm
libdata/perl5/site_perl/GD/Graph/bars3d.pm ${P5SITE}/GD/Graph/bars3d.pm
libdata/perl5/site_perl/GD/Graph/lines3d.pm ${P5SITE}/GD/Graph/lines3d.pm
libdata/perl5/site_perl/GD/Graph/pie3d.pm ${P5SITE}/GD/Graph/pie3d.pm
libdata/perl5/site_perl/GD/Graph3d.pm ${P5SITE}/GD/Graph3d.pm
man/man3p/GD::Graph3d.3p man/man3p/GD::Graph3d.3p