From 0f99203716f4cfc810916c99227777a16b2ec133 Mon Sep 17 00:00:00 2001 From: frueauf Date: Tue, 13 Oct 1998 11:09:59 +0000 Subject: Initial import of xgraph-11, a tool to draw a graph on an X11 display. Based on pr 6283 by Brian Grayson. --- graphics/xgraph/Makefile | 13 +++++++++++++ graphics/xgraph/files/md5 | 3 +++ graphics/xgraph/patches/patch-aa | 21 +++++++++++++++++++++ graphics/xgraph/pkg/COMMENT | 1 + graphics/xgraph/pkg/DESCR | 12 ++++++++++++ graphics/xgraph/pkg/PLIST | 3 +++ 6 files changed, 53 insertions(+) create mode 100644 graphics/xgraph/Makefile create mode 100644 graphics/xgraph/files/md5 create mode 100644 graphics/xgraph/patches/patch-aa create mode 100644 graphics/xgraph/pkg/COMMENT create mode 100644 graphics/xgraph/pkg/DESCR create mode 100644 graphics/xgraph/pkg/PLIST (limited to 'graphics/xgraph') diff --git a/graphics/xgraph/Makefile b/graphics/xgraph/Makefile new file mode 100644 index 00000000000..c51ae1594c8 --- /dev/null +++ b/graphics/xgraph/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/13 11:09:59 frueauf Exp $ +# + +DISTNAME= xgraph-11 +CATEGORIES= graphics x11 +MASTER_SITES= http://www-dsed.llnl.gov/files/programs/unix/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= bgrayson@ece.utexas.edu + +USE_IMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/xgraph/files/md5 b/graphics/xgraph/files/md5 new file mode 100644 index 00000000000..7b41a3c316a --- /dev/null +++ b/graphics/xgraph/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/10/13 11:10:00 frueauf Exp $ + +MD5 (xgraph-11.tar.Z) = 6e42d67f972b868f8a51c02855918fdf diff --git a/graphics/xgraph/patches/patch-aa b/graphics/xgraph/patches/patch-aa new file mode 100644 index 00000000000..1e12004e3b7 --- /dev/null +++ b/graphics/xgraph/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/13 11:10:00 frueauf Exp $ + +--- xgraph.h.dist Mon Oct 12 18:17:31 1998 ++++ xgraph.h Mon Oct 12 18:18:08 1998 +@@ -34,6 +34,8 @@ + extern void set_X(); /* Initializes X device */ + + /* To make lint happy */ ++#if 0 ++/* rindex() might be a macro, so doing these prototypes can lead to problems. */ + extern char *malloc(); + extern char *realloc(); + extern char *sprintf(); +@@ -41,6 +43,7 @@ + extern char *strcat(); + extern char *rindex(); + extern char *index(); ++#endif + extern void exit(); + extern void free(); + extern double atof(); diff --git a/graphics/xgraph/pkg/COMMENT b/graphics/xgraph/pkg/COMMENT new file mode 100644 index 00000000000..069610c8972 --- /dev/null +++ b/graphics/xgraph/pkg/COMMENT @@ -0,0 +1 @@ +a tool to draw a graph on an X11 display. diff --git a/graphics/xgraph/pkg/DESCR b/graphics/xgraph/pkg/DESCR new file mode 100644 index 00000000000..fc92a6e0e7a --- /dev/null +++ b/graphics/xgraph/pkg/DESCR @@ -0,0 +1,12 @@ +The xgraph program draws a graph on an X display given data read +from either data files or from standard input if no files are +specified. It can display up to 64 independent data sets using +different colors and/or line styles for each set. It annotates the +graph with a title, axis labels, grid lines or tick marks, grid +labels, and a legend. There are options to control the appearance +of most components of the graph. + +Originally written by David Harrison, the code is mostly/completely +unchanged since December 1989, when xgraph-11 was released. +The program relies only upon Xlib calls (and not any specific +toolkit), so it should work on all X systems. diff --git a/graphics/xgraph/pkg/PLIST b/graphics/xgraph/pkg/PLIST new file mode 100644 index 00000000000..84b932d6dda --- /dev/null +++ b/graphics/xgraph/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/13 11:10:00 frueauf Exp $ +bin/xgraph +man/cat1/xgraph.0 -- cgit v1.2.3