diff options
Diffstat (limited to 'cad/gtkwave')
-rw-r--r-- | cad/gtkwave/Makefile | 34 | ||||
-rw-r--r-- | cad/gtkwave/distinfo | 1 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-alloc.h | 25 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-main.c | 11 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-print.c | 10 | ||||
-rw-r--r-- | cad/gtkwave/files/patch-v2l_debug.h | 17 | ||||
-rw-r--r-- | cad/gtkwave/pkg-comment | 1 | ||||
-rw-r--r-- | cad/gtkwave/pkg-descr | 5 | ||||
-rw-r--r-- | cad/gtkwave/pkg-plist | 47 |
9 files changed, 151 insertions, 0 deletions
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile new file mode 100644 index 000000000000..db0da72fa16f --- /dev/null +++ b/cad/gtkwave/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# Ports collection makefile for: gtkwave +# Date created: May 10, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= gtkwave +PORTVERSION= 2.0.0p1 +CATEGORIES= cad +MASTER_SITES= ftp://ftp.cs.man.ac.uk/pub/amulet/gtkwave/2.0/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/pre/} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= bz2:${PORTSDIR}/archivers/bzip2 + +USE_GTK= yes +GNU_CONFIGURE= yes + +post-patch: + @${GREP} -lR "heapsort" ${WRKSRC}/src | ${XARGS} \ + ${PERL} -pi -e "s/heapsort/hsort/g" + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC}/doc ; ${INSTALL_DATA} *.png *.ps *.html ${DOCSDIR}) + @${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples ; ${INSTALL_DATA} *.gz *.vcd ${EXAMPLESDIR}) +.endif + +.include <bsd.port.mk> diff --git a/cad/gtkwave/distinfo b/cad/gtkwave/distinfo new file mode 100644 index 000000000000..0680681fee96 --- /dev/null +++ b/cad/gtkwave/distinfo @@ -0,0 +1 @@ +MD5 (gtkwave-2.0.0pre1.tar.gz) = c09ee3afe8a1ab5ff7359407dc5d5caf diff --git a/cad/gtkwave/files/patch-alloc.h b/cad/gtkwave/files/patch-alloc.h new file mode 100644 index 000000000000..7793421c51bc --- /dev/null +++ b/cad/gtkwave/files/patch-alloc.h @@ -0,0 +1,25 @@ +--- src/alloc.h.orig Sun May 12 22:53:00 2002 ++++ src/alloc.h Sun May 12 22:53:27 2002 +@@ -39,22 +39,6 @@ + #define alloca _alloca + #endif + +-#ifndef __GNUC__ +-# if HAVE_ALLOCA_H +-# include <alloca.h> +-# else +-# ifdef _AIX +-# pragma alloca +-# else +-# ifndef alloca /* predefined by HP cc +Olibcalls */ +-char *alloca (); +-# endif +-# endif +-# endif +-#else +-# include <alloca.h> +-#endif +- + #define wave_alloca alloca + + #endif diff --git a/cad/gtkwave/files/patch-main.c b/cad/gtkwave/files/patch-main.c new file mode 100644 index 000000000000..a99c39f959f0 --- /dev/null +++ b/cad/gtkwave/files/patch-main.c @@ -0,0 +1,11 @@ +--- src/main.c.orig Sun May 12 22:59:38 2002 ++++ src/main.c Sun May 12 22:59:51 2002 +@@ -62,7 +62,7 @@ + long lastpos; + long endpos; + long fsize; +-long val_size; ++off_t val_size; + int no_of_reads; + struct stat finfo; + int is_initial_read = 0; diff --git a/cad/gtkwave/files/patch-print.c b/cad/gtkwave/files/patch-print.c new file mode 100644 index 000000000000..9c5fd5e316b8 --- /dev/null +++ b/cad/gtkwave/files/patch-print.c @@ -0,0 +1,10 @@ +--- src/print.c.orig Sun May 12 23:01:00 2002 ++++ src/print.c Sun May 12 23:01:42 2002 +@@ -36,7 +36,6 @@ + #include "analyzer.h" + #include "utils.h" + #include "bsearch.h" +-#include "alloca.h" + #include "debug.h" + #include "strace.h" + #include "print.h" diff --git a/cad/gtkwave/files/patch-v2l_debug.h b/cad/gtkwave/files/patch-v2l_debug.h new file mode 100644 index 000000000000..0844fe975dea --- /dev/null +++ b/cad/gtkwave/files/patch-v2l_debug.h @@ -0,0 +1,17 @@ +--- src/helpers/v2l_debug.h.orig Sat May 11 00:28:43 2002 ++++ src/helpers/v2l_debug.h Sat May 11 00:30:02 2002 +@@ -79,14 +79,6 @@ + * memory leaks because of it. you have been warned. + */ + +-#ifndef __sun__ +-#ifndef alloca +-#define alloca __alloca +-#endif +-#else +-#include <alloca.h> +-#endif +- + #define wave_alloca alloca + + diff --git a/cad/gtkwave/pkg-comment b/cad/gtkwave/pkg-comment new file mode 100644 index 000000000000..08f78afb6529 --- /dev/null +++ b/cad/gtkwave/pkg-comment @@ -0,0 +1 @@ +Electronic Waveform Viewer diff --git a/cad/gtkwave/pkg-descr b/cad/gtkwave/pkg-descr new file mode 100644 index 000000000000..c539f66e2371 --- /dev/null +++ b/cad/gtkwave/pkg-descr @@ -0,0 +1,5 @@ +GTKWave is VCD/EVCD/LXT/Synopsis .out format electronic waveform viewer built +using the GTK+ toolkit. GTKWave will hopefully also form the basis of some new +visualisation tools for LARD. + +WWW: http://www.cs.man.ac.uk/amulet/tools/gtkwave/ diff --git a/cad/gtkwave/pkg-plist b/cad/gtkwave/pkg-plist new file mode 100644 index 000000000000..e0e20b690d82 --- /dev/null +++ b/cad/gtkwave/pkg-plist @@ -0,0 +1,47 @@ +bin/gtkwave +bin/mvl2lxt +bin/mvl2vcd +bin/tex2vcd +bin/vcd2lxt +share/gtkwave/pixmaps/add_signals.xpm +share/gtkwave/pixmaps/larrow.xpm +share/gtkwave/pixmaps/rarrow.xpm +share/gtkwave/pixmaps/zoom_begin.xpm +share/gtkwave/pixmaps/zoom_end.xpm +share/gtkwave/pixmaps/zoom_fit.xpm +share/gtkwave/pixmaps/zoom_in.xpm +share/gtkwave/pixmaps/zoom_out.xpm +share/gtkwave/pixmaps/zoom_redo.xpm +share/gtkwave/pixmaps/zoom_undo.xpm +@dirrm share/gtkwave/pixmaps +%%PORTDOCS%%share/doc/gtkwave/data_format.png +%%PORTDOCS%%share/doc/gtkwave/edit_menu.png +%%PORTDOCS%%share/doc/gtkwave/file_menu.png +%%PORTDOCS%%share/doc/gtkwave/gtkwave.html +%%PORTDOCS%%share/doc/gtkwave/help_menu.png +%%PORTDOCS%%share/doc/gtkwave/hierarchy.png +%%PORTDOCS%%share/doc/gtkwave/markers_menu.png +%%PORTDOCS%%share/doc/gtkwave/search_menu.png +%%PORTDOCS%%share/doc/gtkwave/time_menu.png +%%PORTDOCS%%share/doc/gtkwave/view_menu.png +%%PORTDOCS%%share/doc/gtkwave/w.ps +%%PORTDOCS%%share/doc/gtkwave/w1.png +%%PORTDOCS%%share/doc/gtkwave/w10.png +%%PORTDOCS%%share/doc/gtkwave/w11.png +%%PORTDOCS%%share/doc/gtkwave/w12.png +%%PORTDOCS%%share/doc/gtkwave/w13.png +%%PORTDOCS%%share/doc/gtkwave/w3.png +%%PORTDOCS%%share/doc/gtkwave/w4.png +%%PORTDOCS%%share/doc/gtkwave/w5.png +%%PORTDOCS%%share/doc/gtkwave/w6.png +%%PORTDOCS%%share/doc/gtkwave/w7.png +%%PORTDOCS%%share/doc/gtkwave/w8.png +%%PORTDOCS%%share/doc/gtkwave/w9.png +%%PORTDOCS%%share/doc/gtkwave/wps.png +%%PORTDOCS%%share/doc/gtkwave/zoom_submenu.png +%%PORTDOCS%%@dirrm share/doc/gtkwave +%%PORTDOCS%%share/examples/gtkwave/agonynan_bccom.evcd.gz +%%PORTDOCS%%share/examples/gtkwave/pci.vcd.gz +%%PORTDOCS%%share/examples/gtkwave/simple.vcd +%%PORTDOCS%%share/examples/gtkwave/sram.vcd.gz +%%PORTDOCS%%@dirrm share/examples/gtkwave |