summaryrefslogtreecommitdiff
path: root/graphics/xplot-devel
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-08-16 18:11:40 +0000
committergdt <gdt@pkgsrc.org>2006-08-16 18:11:40 +0000
commitc96414474cf5920042cfcd620e464e33428626b4 (patch)
tree15eb44405d8a6f3cba2deae18bc2e2d2a06f816b /graphics/xplot-devel
parentbd267bb724d569d84ace02316b8ba69a45bf499c (diff)
downloadpkgsrc-c96414474cf5920042cfcd620e464e33428626b4.tar.gz
Tim Shepard's plotting program. This is most often used to generate
TCP time-sequence plots. This is a development version with new features that has not undergone extensive testing.
Diffstat (limited to 'graphics/xplot-devel')
-rw-r--r--graphics/xplot-devel/DESCR5
-rw-r--r--graphics/xplot-devel/Makefile25
-rw-r--r--graphics/xplot-devel/PLIST17
-rw-r--r--graphics/xplot-devel/distinfo8
-rw-r--r--graphics/xplot-devel/patches/patch-aa13
-rw-r--r--graphics/xplot-devel/patches/patch-ac17
-rw-r--r--graphics/xplot-devel/patches/patch-ad18
7 files changed, 103 insertions, 0 deletions
diff --git a/graphics/xplot-devel/DESCR b/graphics/xplot-devel/DESCR
new file mode 100644
index 00000000000..1a51b1d3ad0
--- /dev/null
+++ b/graphics/xplot-devel/DESCR
@@ -0,0 +1,5 @@
+Tim Shepard's plotting program. This is most often used to generate
+TCP time-sequence plots.
+
+This is a development version with new features that has not undergone
+extensive testing.
diff --git a/graphics/xplot-devel/Makefile b/graphics/xplot-devel/Makefile
new file mode 100644
index 00000000000..3b243bed92b
--- /dev/null
+++ b/graphics/xplot-devel/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/16 18:11:40 gdt Exp $
+
+DISTNAME= xplot-0.90.8
+CATEGORIES= graphics x11
+MASTER_SITES= http://acert.ir.bbn.com/downloads/acert-geospatial/
+HOMEPAGE= http://www.xplot.org/
+
+MAINTAINER= gdt@NetBSD.org
+COMMENT= Plotting program (development snapshot)
+
+USE_X11BASE= yes
+GNU_CONFIGURE= yes
+
+DOCFILES= ANNOUNCE README README.tcp_plots \
+ demo.0 demo.1 demo.2 demo.3 demo.4 demo.5 demo.6 demo.7
+
+.include "../../mk/x11.buildlink3.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xplot
+.for file in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xplot
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/xplot-devel/PLIST b/graphics/xplot-devel/PLIST
new file mode 100644
index 00000000000..4538648dc9f
--- /dev/null
+++ b/graphics/xplot-devel/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/16 18:11:40 gdt Exp $
+bin/tcpdump2xplot
+bin/xplot
+man/man1/tcpdump2xplot.1
+man/man1/xplot.1
+share/doc/xplot/ANNOUNCE
+share/doc/xplot/README
+share/doc/xplot/README.tcp_plots
+share/doc/xplot/demo.0
+share/doc/xplot/demo.1
+share/doc/xplot/demo.2
+share/doc/xplot/demo.3
+share/doc/xplot/demo.4
+share/doc/xplot/demo.5
+share/doc/xplot/demo.6
+share/doc/xplot/demo.7
+@dirrm share/doc/xplot
diff --git a/graphics/xplot-devel/distinfo b/graphics/xplot-devel/distinfo
new file mode 100644
index 00000000000..74bb062f542
--- /dev/null
+++ b/graphics/xplot-devel/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/16 18:11:40 gdt Exp $
+
+SHA1 (xplot-0.90.8.tar.gz) = d87a382b01c7a48787d2c6fa2d16e0961de9d81c
+RMD160 (xplot-0.90.8.tar.gz) = ac8877ad7fa1c80afa0281236b3a4992482109c2
+Size (xplot-0.90.8.tar.gz) = 243259 bytes
+SHA1 (patch-aa) = 48a475a550a2ea9d2bc50f2782d598830802817e
+SHA1 (patch-ac) = 671b63a8db7c41df4e9f14147988d81ff921aca7
+SHA1 (patch-ad) = fd19823030badf91734fde92b45fcaecc06cf0f8
diff --git a/graphics/xplot-devel/patches/patch-aa b/graphics/xplot-devel/patches/patch-aa
new file mode 100644
index 00000000000..c582965cf87
--- /dev/null
+++ b/graphics/xplot-devel/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/08/16 18:11:40 gdt Exp $
+
+--- Makefile.in.orig Thu May 4 23:04:20 2000
++++ Makefile.in Sat Sep 27 14:00:42 2003
+@@ -62,7 +62,7 @@
+ all: ${PROG}
+
+ ${PROG}: ${OFILES}
+- ${CC} ${CFLAGS} -o $@.new ${OFILES} ${LIBS}
++ ${CC} ${CFLAGS} -o $@.new ${OFILES} ${LIBS} ${LDFLAGS}
+ -mv -f $@ $@.old
+ mv -f $@.new $@
+
diff --git a/graphics/xplot-devel/patches/patch-ac b/graphics/xplot-devel/patches/patch-ac
new file mode 100644
index 00000000000..74930287364
--- /dev/null
+++ b/graphics/xplot-devel/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/08/16 18:11:40 gdt Exp $
+
+*** unsigned.c.orig Fri Dec 12 20:16:26 1997
+--- unsigned.c Fri Dec 12 20:16:52 1997
+***************
+*** 45,50 ****
+--- 45,54 ----
+ #define LIBC_ATOI_IS_BROKEN
+ #endif
+
++ #ifdef __NetBSD__
++ #define LIBC_ATOI_IS_BROKEN
++ #endif
++
+ #ifdef LIBC_ATOI_IS_BROKEN
+ #include <ctype.h>
+ #endif
diff --git a/graphics/xplot-devel/patches/patch-ad b/graphics/xplot-devel/patches/patch-ad
new file mode 100644
index 00000000000..e8b1197064b
--- /dev/null
+++ b/graphics/xplot-devel/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1.1.1 2006/08/16 18:11:40 gdt Exp $
+
+--- timeval.c.DIST Fri Jun 28 12:41:21 1996
++++ timeval.c Mon Mar 30 19:58:50 1998
+@@ -102,6 +102,13 @@
+ r.t.tv_sec = atoi(s);
+ while (isdigit(*s)) s++;
+
++ while (*s == ':') {
++ s++;
++ r.t.tv_sec *= 60;
++ r.t.tv_sec += atoi(s);
++ while (isdigit(*s)) s++;
++ }
++
+ if (*s == '.') {
+ s++;
+ r.t.tv_usec = atoi(s);