pkgsrc/graphics/p5-Chart/Makefile
wiz 9436f1d4bb Update to 2.4.2. Set LICENSE.
2.4.2 Changes done by R. Dassing, Michael Potter
      Base.pm:
      The values for 'true' resp. 'false' may be of the following
      true: TRUE, true, T, t, 1 and defined
      false: FALSE, false, F, f, 0 or undefined

      Base.pm:
      Added new options xlabel and xrange which is valid for xy_plot
      and Chart::Lines, Chart::Points, Chart::LinesPoints,
      Chart::Split, Chart::ErrorBars.

      In order to use the labels, the chart module needs to have 'xlabels'
      AND 'xrange' set. Below is some example code for use:
      @labels = (['Jan', 'Feb','Mar'],
                 ['10','40','70']);
      $chart->set( xlabels => \@labels,
                   xrange => [0,100] );
      This options allow to set and position labels at the x-axis arbitrary.

      add_dataset() and app_pt() accepts now datasets as lists and as
          references to list like already mentioned in the docs


      Pie.pm:
      Optimized organisation of the placement of the labels.
      Added flag to avoid plotting of legends at all
      Using GD Version 2.0.36 as this version supports 'filledArc'

      Composite.pm:
      Correction due to Request 23166
      write the endmost value of input array
      in imagemap_data array

      Lines.pm:
      Correction due to Request 23166:
      write the endmost value of input array
      in imagemap_data array
2011-08-16 21:53:41 +00:00

25 lines
581 B
Makefile

# $NetBSD: Makefile,v 1.12 2011/08/16 21:53:41 wiz Exp $
DISTNAME= Chart-2.4.2
PKGNAME= p5-${DISTNAME}
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Chart/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/~chartgrp/
COMMENT= Perl5 charting library
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-GD>=1.20:../../graphics/p5-GD
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Chart/.packlist
post-extract:
${CHMOD} a-x ${WRKSRC}/Chart/*.pm
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"