add p5-Chart-Graph 2.0

Perl extension for a front-end to gnuplot, XRT, and Xmgrace
This commit is contained in:
Ying-Chieh Liao 2004-08-30 08:36:58 +00:00
parent e644787bfb
commit c9d420ce55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117641
6 changed files with 95 additions and 0 deletions

View file

@ -298,6 +298,7 @@
SUBDIR += orca
SUBDIR += osg
SUBDIR += osgedit
SUBDIR += p5-Chart-Graph
SUBDIR += p5-Chart-PNGgraph
SUBDIR += p5-GD
SUBDIR += p5-GD-Barcode

View file

@ -0,0 +1,35 @@
# ex:ts=8
# Ports collection makefile for: p5-Chart-Graph
# Date Created: Aug 30, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= Chart-Graph
PORTVERSION= 2.0
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Chart
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl extension for a front-end to gnuplot, XRT, and Xmgrace
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
xmgrace:${PORTSDIR}/math/grace
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_REINPLACE= yes
PERL_CONFIGURE= yes
MAN3= Chart::Graph.3 \
Chart::Graph::Gnuplot.3 \
Chart::Graph::Xmgrace.3 \
Chart::Graph::Xrt2d.3 \
Chart::Graph::Xrt3d.3
post-patch:
@${REINPLACE_CMD} -e "s,%%X11BASE%%,${X11BASE}," ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
MD5 (Chart-Graph-2.0.tar.gz) = db4f6dbb05afcadb362cc37e7f49789a
SIZE (Chart-Graph-2.0.tar.gz) = 259006

View file

@ -0,0 +1,25 @@
--- Makefile.PL.orig Mon Aug 30 15:27:33 2004
+++ Makefile.PL Mon Aug 30 16:18:28 2004
@@ -9,16 +9,16 @@
my $xrt2d ;
my @xvfb = "undef";
my $xvfb;
-my @drivers = qw(gnuplot xrt3d xrt2d xmgrace);
-print "Enter (space separated) graphing drivers to test: [@drivers] ";
-my $drivers = <STDIN>;
-chomp $drivers;
-@drivers = split /\s/,$drivers if $drivers ne '';
+my @drivers = qw(gnuplot xmgrace);
+#print "Enter (space separated) graphing drivers to test: [@drivers] ";
+#my $drivers = <STDIN>;
+#chomp $drivers;
+#@drivers = split /\s/,$drivers if $drivers ne '';
for (@drivers) {
if (not defined $xvfb and ($_ eq "xrt2d" or $_ eq "xrt3d" or $_ eq "xmgrace")) {
print "Enter path to X virtual frame buffer(Xvfb): ";
- $xvfb = <STDIN>;
+ $xvfb = "%%X11BASE%%/bin/Xvfb";
chop $xvfb;
@xvfb = $xvfb;
}

View file

@ -0,0 +1,7 @@
Graph.pm is a wrapper module that allows easy generation of graphs within perl.
Currently Graph.pm supports three graphing packages, gnuplot, XRT, and Xmgrace.
These software packages must be obtained separately from this Perl module.
Information on each graphing package and it's availability is provided in the
documentation on that module.
WWW: http://search.cpan.org/dist/Chart-Graph/

View file

@ -0,0 +1,25 @@
%%SITE_PERL%%/Chart/Graph.pm
%%SITE_PERL%%/Chart/Graph/Gnuplot.pm
%%SITE_PERL%%/Chart/Graph/Utils.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Axes.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Axis.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Axis_Option.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Axis_Options.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Base_Dataset_Option.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Base_Option.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Dataset.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Dataset_Options.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Grace.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Graph_Options.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/Graph_Presentation_Type.pm
%%SITE_PERL%%/Chart/Graph/Xmgrace/World_Option.pm
%%SITE_PERL%%/Chart/Graph/Xrt2d.pm
%%SITE_PERL%%/Chart/Graph/Xrt3d.pm
%%SITE_PERL%%/Chart/Graph/XrtUtils.pm
@dirrm %%SITE_PERL%%/Chart/Graph/Xmgrace
@dirrm %%SITE_PERL%%/Chart/Graph
@unexec rmdir %D/%%SITE_PERL%%/Chart 2>/dev/null || true
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Chart/Graph/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Chart/Graph
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Chart 2>/dev/null || true