summaryrefslogtreecommitdiff
path: root/cad/gwave
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-19 00:35:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-19 00:35:38 +0000
commit9599d77f5bef7e26fc9082214e10537906546c08 (patch)
tree47cf1e8d3676efe9d98f1ca099aa018b9ed4effb /cad/gwave
parentDistfile does not exist on www.videolan.org anymore, so use (diff)
new port: cad/gwave
Gwave is a waveform viewer. Its purpose is for viewing analog data, such as the output from Spice-like simulations. PR: ports/39364 Submitted by: Duncan Barclay <dmlb@dmlb.org>
Notes
Notes: svn path=/head/; revision=73458
Diffstat (limited to 'cad/gwave')
-rw-r--r--cad/gwave/Makefile29
-rw-r--r--cad/gwave/distinfo1
-rw-r--r--cad/gwave/files/patch-wavefile.c10
-rw-r--r--cad/gwave/pkg-comment1
-rw-r--r--cad/gwave/pkg-descr19
-rw-r--r--cad/gwave/pkg-plist17
6 files changed, 77 insertions, 0 deletions
diff --git a/cad/gwave/Makefile b/cad/gwave/Makefile
new file mode 100644
index 000000000000..96d0120166dd
--- /dev/null
+++ b/cad/gwave/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: gwave
+# Date created: 16 June 2002
+# Whom: Duncan Barclay <dmlb@dmlb.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gwave
+PORTVERSION= 20020122
+CATEGORIES= cad
+MASTER_SITES= http://geda.seul.org/dist/
+
+MAINTAINER= dmlb@dmlb.org
+
+RUN_DEPENDS= graph:${PORTSDIR}/graphics/plotutils
+LIB_DEPENDS= geda.15:${PORTSDIR}/cad/libgeda \
+ guile.9:${PORTSDIR}/lang/guile \
+ guilegtk-1.2:${PORTSDIR}/x11-toolkits/guile-gtk
+
+USE_AUTOCONF= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12
+#CONFIGURE_ARGS= --enable-gdgeda
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+MAN1= sp2sp.1
+
+.include <bsd.port.mk>
diff --git a/cad/gwave/distinfo b/cad/gwave/distinfo
new file mode 100644
index 000000000000..9a006aeca553
--- /dev/null
+++ b/cad/gwave/distinfo
@@ -0,0 +1 @@
+MD5 (gwave-20020122.tar.gz) = 0e5bbf0787e4ab82f804e617bf3ad86f
diff --git a/cad/gwave/files/patch-wavefile.c b/cad/gwave/files/patch-wavefile.c
new file mode 100644
index 000000000000..8e902842be9d
--- /dev/null
+++ b/cad/gwave/files/patch-wavefile.c
@@ -0,0 +1,10 @@
+--- spicefile/wavefile.c~ Sun Jun 16 12:16:05 2002
++++ spicefile/wavefile.c Sun Jun 16 12:01:26 2002
+@@ -32,6 +32,7 @@
+
+
+ #ifdef HAVE_POSIX_REGEXP
++#include <sys/types.h>
+ #include <regex.h>
+ #define REGEXP_T regex_t
+ #define regexp_test(c,s) (regexec((c), (s), 0, NULL, 0) == 0)
diff --git a/cad/gwave/pkg-comment b/cad/gwave/pkg-comment
new file mode 100644
index 000000000000..a02a0339fa3b
--- /dev/null
+++ b/cad/gwave/pkg-comment
@@ -0,0 +1 @@
+Waveform viewer for analogue electronic simulation tools
diff --git a/cad/gwave/pkg-descr b/cad/gwave/pkg-descr
new file mode 100644
index 000000000000..cfb213c7de96
--- /dev/null
+++ b/cad/gwave/pkg-descr
@@ -0,0 +1,19 @@
+Gwave is a waveform viewer. Its purpose is for viewing analog data,
+such as the output from Spice-like simulations.
+
+Gwave can read binary or ascii files written by HSpice from transient,
+AC, or Sweep analyses, "raw" files written by Spice2, Spice3, or
+ngspice, and transient analysis files from the CAzM simulator. It can
+also read a generic tabular ASCII format suitable for use with ACS or
+homegrown tools.
+
+It supports multiple "panels" (graticlules) with multiple variables
+displayed in each. Two vertical-bar cursors are available for
+time-difference measurements. Multiple files can be loaded, for
+comparing the results of several simulations.
+
+Much of Gwave's user interface is written in the Guile extension
+language and is therefore easily extensible for custom applications
+without recompilation.
+
+WWW: http://geda.seul.org/tools/gwave
diff --git a/cad/gwave/pkg-plist b/cad/gwave/pkg-plist
new file mode 100644
index 000000000000..81cdce07842e
--- /dev/null
+++ b/cad/gwave/pkg-plist
@@ -0,0 +1,17 @@
+bin/sp2sp
+bin/gwave
+bin/gwave-exec
+bin/gwaverepl
+share/guile/app/gwave/system.gwaverc
+share/guile/app/gwave/cmds.scm
+share/guile/app/gwave/dynlink.scm
+share/guile/app/gwave/globals.scm
+share/guile/app/gwave/minimal.scm
+share/guile/app/gwave/std-args.scm
+share/guile/app/gwave/std-menus.scm
+share/guile/app/gwave/std-toolbar.scm
+share/guile/app/gwave/extra-menus.scm
+share/guile/app/gwave/visiblewave-ops.scm
+share/guile/app/gwave/gwave-startup.scm
+@dirrm share/guile/app/gwave
+@unexec rmdir %D/share/guile/app 2>/dev/null || true