From 585efc683a6df7862a68ac1b81ce736379171aec Mon Sep 17 00:00:00 2001 From: avsm Date: Sat, 21 Sep 2002 11:56:31 +0000 Subject: [PATCH] Update to p5-GD-Graph3d-0.59, from Jim Geovedi with minor tweaks from me --- graphics/p5-GD-Graph3d/Makefile | 11 ++++--- graphics/p5-GD-Graph3d/distinfo | 6 ++-- .../patches/patch-lib_GD_Graph3d_pm | 30 ++++--------------- graphics/p5-GD-Graph3d/pkg/DESCR | 10 +++---- graphics/p5-GD-Graph3d/pkg/PLIST | 12 ++++---- 5 files changed, 27 insertions(+), 42 deletions(-) diff --git a/graphics/p5-GD-Graph3d/Makefile b/graphics/p5-GD-Graph3d/Makefile index 940c3ecd71a..27f24cf69c1 100644 --- a/graphics/p5-GD-Graph3d/Makefile +++ b/graphics/p5-GD-Graph3d/Makefile @@ -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" -DISTNAME= GDGraph3d-0.55 -PKGNAME= p5-GD-Graph3d-0.55 +DISTNAME= GD-Graph3d-0.59 +PKGNAME= p5-${DISTNAME} CATEGORIES= graphics perl5 -NEED_VERSION= 1.515 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/} +MAINTAINER= Jim Geovedi BUILD_DEPENDS= :p5-GD-Graph->=1.30:graphics/p5-GD-Graph RUN_DEPENDS= ${BUILD_DEPENDS} @@ -18,4 +18,7 @@ PERMIT_DISTFILES_FTP= Yes CONFIGURE_STYLE= perl +pre-patch: + @perl -pi -e 's/\r//' ${WRKSRC}/lib/GD/Graph3d.pm + .include diff --git a/graphics/p5-GD-Graph3d/distinfo b/graphics/p5-GD-Graph3d/distinfo index 7099855b3b0..bccd76f88e8 100644 --- a/graphics/p5-GD-Graph3d/distinfo +++ b/graphics/p5-GD-Graph3d/distinfo @@ -1,3 +1,3 @@ -MD5 (GDGraph3d-0.55.tar.gz) = 209adb88cb6595834cffde6bf2ffb8c6 -RMD160 (GDGraph3d-0.55.tar.gz) = 2a79464beec9cdb8afa49e3b0367316d5c25c9e6 -SHA1 (GDGraph3d-0.55.tar.gz) = 625ef568e515ac3bc57655a652aecf623d56a63c +MD5 (GD-Graph3d-0.59.tar.gz) = cab629741a0e62b940c671957bdfa2be +RMD160 (GD-Graph3d-0.59.tar.gz) = de193855384f3234d8af00d6ff84e5c6a20cd6df +SHA1 (GD-Graph3d-0.59.tar.gz) = c66d115e12e22db5e4c090d079993b282c6e7e0b diff --git a/graphics/p5-GD-Graph3d/patches/patch-lib_GD_Graph3d_pm b/graphics/p5-GD-Graph3d/patches/patch-lib_GD_Graph3d_pm index 05e73f51f53..ec24b54792d 100644 --- a/graphics/p5-GD-Graph3d/patches/patch-lib_GD_Graph3d_pm +++ b/graphics/p5-GD-Graph3d/patches/patch-lib_GD_Graph3d_pm @@ -1,35 +1,17 @@ -$OpenBSD: patch-lib_GD_Graph3d_pm,v 1.1 2001/01/08 23:16:00 avsm Exp $ ---- lib/GD/Graph3d.pm.orig Mon Oct 9 18:00:25 2000 -+++ lib/GD/Graph3d.pm Mon Jan 8 22:51:24 2001 -@@ -22,12 +22,12 @@ GD::Graph3D - Create 3D Graphs with GD a +$OpenBSD: patch-lib_GD_Graph3d_pm,v 1.2 2002/09/21 11:56:31 avsm Exp $ +--- lib/GD/Graph3d.pm.orig Fri Dec 7 06:44:54 2001 ++++ lib/GD/Graph3d.pm Wed Sep 18 09:56:45 2002 +@@ -24,12 +24,12 @@ GD::Graph3D - Create 3D Graphs with GD a ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], [ 1203, 3500, 3973, 2859, 3012, 3423, 1230] ); -+ $graph = GD::Graph::moduleName->new( 400, 300 ); +- my $graph = new GD::Graph::moduleName( 400, 300 ); $graph->set( x_label => 'Day of the week', y_label => 'Number of hits', 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 ); Where I is one of C, C or C. -@@ -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 - diff --git a/graphics/p5-GD-Graph3d/pkg/DESCR b/graphics/p5-GD-Graph3d/pkg/DESCR index 045c4a8a369..c26b33d7474 100644 --- a/graphics/p5-GD-Graph3d/pkg/DESCR +++ b/graphics/p5-GD-Graph3d/pkg/DESCR @@ -1,6 +1,6 @@ -This is the GD::Graph3d extension module. It provides 3D graphs -for the GD::Graph module by Martien Verbruggen, which in turn -generates graphs using Lincoln Stein's GD.pm. +This is the GD::Graph3d extension module. It provides 3D graphs for +the GD::Graph module by Martien Verbruggen, which in turn generates +graphs using Lincoln Stein's GD.pm. -You use these modules just as you would any of the GD::Graph -modules, except that they generate 3D-looking graphs. +You use these modules just as you would any of the GD::Graph modules, +except that they generate 3D-looking graphs. diff --git a/graphics/p5-GD-Graph3d/pkg/PLIST b/graphics/p5-GD-Graph3d/pkg/PLIST index 2a62dc8f8cf..3381744239e 100644 --- a/graphics/p5-GD-Graph3d/pkg/PLIST +++ b/graphics/p5-GD-Graph3d/pkg/PLIST @@ -1,7 +1,7 @@ -@comment $OpenBSD: PLIST,v 1.3 2002/04/16 19:25:04 espie Exp $ -libdata/perl5/site_perl/GD/Graph/axestype3d.pm -libdata/perl5/site_perl/GD/Graph/bars3d.pm -libdata/perl5/site_perl/GD/Graph/lines3d.pm -libdata/perl5/site_perl/GD/Graph/pie3d.pm -libdata/perl5/site_perl/GD/Graph3d.pm +@comment $OpenBSD: PLIST,v 1.4 2002/09/21 11:56:31 avsm Exp $ +${P5SITE}/GD/Graph/axestype3d.pm +${P5SITE}/GD/Graph/bars3d.pm +${P5SITE}/GD/Graph/lines3d.pm +${P5SITE}/GD/Graph/pie3d.pm +${P5SITE}/GD/Graph3d.pm man/man3p/GD::Graph3d.3p