aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-08-30 16:36:58 +0800
committerijliao <ijliao@FreeBSD.org>2004-08-30 16:36:58 +0800
commit707b9f2cde7df404722937a440bb947f1c36f393 (patch)
tree377270a784c5e7b060fdd3bb6315dd83b8073e9e
parent00c8f6f079a7176b1684ac0c58d99cd474ad3502 (diff)
downloadfreebsd-ports-gnome-707b9f2cde7df404722937a440bb947f1c36f393.tar.gz
freebsd-ports-gnome-707b9f2cde7df404722937a440bb947f1c36f393.tar.zst
freebsd-ports-gnome-707b9f2cde7df404722937a440bb947f1c36f393.zip
add p5-Chart-Graph 2.0
Perl extension for a front-end to gnuplot, XRT, and Xmgrace
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/p5-Chart-Graph/Makefile35
-rw-r--r--graphics/p5-Chart-Graph/distinfo2
-rw-r--r--graphics/p5-Chart-Graph/files/patch-Makefile.PL25
-rw-r--r--graphics/p5-Chart-Graph/pkg-descr7
-rw-r--r--graphics/p5-Chart-Graph/pkg-plist25
6 files changed, 95 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 17b9e71df51d..eb70f3dc8446 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -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
diff --git a/graphics/p5-Chart-Graph/Makefile b/graphics/p5-Chart-Graph/Makefile
new file mode 100644
index 000000000000..3527780a0aff
--- /dev/null
+++ b/graphics/p5-Chart-Graph/Makefile
@@ -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>
diff --git a/graphics/p5-Chart-Graph/distinfo b/graphics/p5-Chart-Graph/distinfo
new file mode 100644
index 000000000000..47b6df6e0177
--- /dev/null
+++ b/graphics/p5-Chart-Graph/distinfo
@@ -0,0 +1,2 @@
+MD5 (Chart-Graph-2.0.tar.gz) = db4f6dbb05afcadb362cc37e7f49789a
+SIZE (Chart-Graph-2.0.tar.gz) = 259006
diff --git a/graphics/p5-Chart-Graph/files/patch-Makefile.PL b/graphics/p5-Chart-Graph/files/patch-Makefile.PL
new file mode 100644
index 000000000000..c2ddf94ff870
--- /dev/null
+++ b/graphics/p5-Chart-Graph/files/patch-Makefile.PL
@@ -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;
+ }
diff --git a/graphics/p5-Chart-Graph/pkg-descr b/graphics/p5-Chart-Graph/pkg-descr
new file mode 100644
index 000000000000..24cf957fc4e8
--- /dev/null
+++ b/graphics/p5-Chart-Graph/pkg-descr
@@ -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/
diff --git a/graphics/p5-Chart-Graph/pkg-plist b/graphics/p5-Chart-Graph/pkg-plist
new file mode 100644
index 000000000000..a36895281bba
--- /dev/null
+++ b/graphics/p5-Chart-Graph/pkg-plist
@@ -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