aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-19 08:35:38 +0800
committeredwin <edwin@FreeBSD.org>2003-01-19 08:35:38 +0800
commit7bf65effde6eeea43528ecd79bb037fa71967a0a (patch)
tree571630f8cee0bb3eb5322f48c415527ad357e877
parentcfe991bf1e3b2c0a71892b435a1f0a7e9b90b224 (diff)
downloadfreebsd-ports-gnome-7bf65effde6eeea43528ecd79bb037fa71967a0a.tar.gz
freebsd-ports-gnome-7bf65effde6eeea43528ecd79bb037fa71967a0a.tar.zst
freebsd-ports-gnome-7bf65effde6eeea43528ecd79bb037fa71967a0a.zip
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>
-rw-r--r--cad/Makefile1
-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
7 files changed, 78 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index e146f6c0c5d1..e3ad100d5bd9 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -16,6 +16,7 @@
SUBDIR += gnucap
SUBDIR += gschem
SUBDIR += gtkwave
+ SUBDIR += gwave
SUBDIR += irsim
SUBDIR += iverilog
SUBDIR += kaskade
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