summaryrefslogtreecommitdiff
path: root/graphics/xgraph
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-10-13 11:09:59 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-10-13 11:09:59 +0000
commita16294cf762433b998b0daaa69e40343fd9a6faf (patch)
treef6e715f5e5700ef72c694f7ac47806869484bba5 /graphics/xgraph
parentdf1902bc613d275656714d462e33cb10e3f9031a (diff)
downloadpkgsrc-a16294cf762433b998b0daaa69e40343fd9a6faf.tar.gz
Initial import of xgraph-11, a tool to draw a graph on an X11 display.
Based on pr 6283 by Brian Grayson.
Diffstat (limited to 'graphics/xgraph')
-rw-r--r--graphics/xgraph/Makefile13
-rw-r--r--graphics/xgraph/files/md53
-rw-r--r--graphics/xgraph/patches/patch-aa21
-rw-r--r--graphics/xgraph/pkg/COMMENT1
-rw-r--r--graphics/xgraph/pkg/DESCR12
-rw-r--r--graphics/xgraph/pkg/PLIST3
6 files changed, 53 insertions, 0 deletions
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