diff options
-rw-r--r-- | graphics/GIFgraph/Makefile | 12 | ||||
-rw-r--r-- | graphics/GIFgraph/files/patch-aa | 42 | ||||
-rw-r--r-- | graphics/GIFgraph/pkg-comment | 2 | ||||
-rw-r--r-- | graphics/GIFgraph/pkg-descr | 2 |
4 files changed, 51 insertions, 7 deletions
diff --git a/graphics/GIFgraph/Makefile b/graphics/GIFgraph/Makefile index 86d6931e1db6..d05d8a01466e 100644 --- a/graphics/GIFgraph/Makefile +++ b/graphics/GIFgraph/Makefile @@ -5,24 +5,26 @@ # $FreeBSD$ # -PORTNAME= p5-GIFgraph +PORTNAME= GIFgraph PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= GIFgraph +PKGNAMEPREFIX= p5- DISTNAME= GIFgraph-${PORTVERSION} -MAINTAINER= laskavy@gambit.msk.su +MAINTAINER= ls@gambit.com.ru RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD USE_PERL5= YES +PERL_CONFIGURE= YES MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= GIFgraph.3 GIFgraph::colour.3 -do-configure: - @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL +post-patch: + find ${WRKSRC} -name '*.orig' -delete .include <bsd.port.mk> diff --git a/graphics/GIFgraph/files/patch-aa b/graphics/GIFgraph/files/patch-aa new file mode 100644 index 000000000000..427c516a837e --- /dev/null +++ b/graphics/GIFgraph/files/patch-aa @@ -0,0 +1,42 @@ +--- GIFgraph./axestype.pm Wed Aug 26 03:37:14 1998 ++++ GIFgraph/axestype.pm Tue Jan 23 19:21:04 2001 +@@ -116,7 +116,7 @@ + $self->draw_data($self->{graph}, $data); + $self->draw_legend($self->{graph}); + +- return $self->{graph}->gif ++ return $self->{graph}->png + } + + sub set_x_label_font($) # (fontname) +--- GIFgraph./pie.pm Wed Aug 26 03:28:51 1998 ++++ GIFgraph/pie.pm Tue Jan 23 19:23:09 2001 +@@ -53,7 +53,7 @@ + $self->draw_pie($self->{graph}); + $self->draw_data($data, $self->{graph}); + +- return $self->{graph}->gif; ++ return $self->{graph}->png; + } + + sub set_label_font($) # (fontname) +--- GIFgraph.pm. Wed Aug 26 03:28:48 1998 ++++ GIFgraph.pm Tue Jan 23 19:31:49 2001 +@@ -373,7 +373,7 @@ + + open(GIFLOGO, $self->{logo}) || return; + binmode(GIFLOGO) if ($GIFgraph::needs_binmode); +- unless ( $glogo = newFromGif GD::Image(\*GIFLOGO) ) ++ unless ( $glogo = newFromPng GD::Image(\*GIFLOGO) ) + { + warn "Problems reading $self->{logo}"; + close(GIFLOGO); +@@ -465,7 +465,7 @@ + { + my $s = shift; + +- return $s->{graph}->gif; ++ return $s->{graph}->png; + } + + } # End of package GIFgraph diff --git a/graphics/GIFgraph/pkg-comment b/graphics/GIFgraph/pkg-comment index ebdcfc338745..94ccf5056986 100644 --- a/graphics/GIFgraph/pkg-comment +++ b/graphics/GIFgraph/pkg-comment @@ -1 +1 @@ -A Perl package to generate GIF charts +A Perl package to generate PNG charts diff --git a/graphics/GIFgraph/pkg-descr b/graphics/GIFgraph/pkg-descr index 3aa9845f6942..103cc1391357 100644 --- a/graphics/GIFgraph/pkg-descr +++ b/graphics/GIFgraph/pkg-descr @@ -1,2 +1,2 @@ -This is GIFgraph, a package to generate GIF charts, +This is GIFgraph, a package to generate PNG charts, using Lincoln Stein's GD.pm. |