pkgsrc/cad/tkgate/patches/patch-aa
dmcmahill 0b2be2ee66 initial import of tkgate-1.6i provided in PR 18847 by Julio Merino,
jmmv at menta dot net.

TkGate is a digital circuit editor and simulator with a Tcl/Tk based
interface. TkGate includes a large number of built-in devices
including basic gates, memories, ttys and modules for hierarchical
design. The simulator can be controlled either interactively or
through a simulation script. Memory contents can be loaded from
files, and a microcode/macrocode compiler (gmac) is included to create
tkgate memory files from a high-level description. The simulator
supports continous simulation, single step simulation (by clock or
epoch) and breakpoints. Save files are in a Verilog-like format.

TkGate also includes a number of tutorial and example circuits which
can be loaded through the "Help" menu. The examples range from a
simple gate-level 3-bit adder to a 16-bit CPU programmed to play the
"Animals" game.

TkGate has a multi-langauge interface with support for English,
Japanese, French and Spanish.
2002-10-29 00:33:46 +00:00

52 lines
1.8 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/10/29 00:33:46 dmcmahill Exp $
--- config.h.in.orig Mon Oct 28 13:10:53 2002
+++ config.h.in Mon Oct 28 13:13:41 2002
@@ -54,13 +54,13 @@
double quotes and should be all one one line. This list is used to
find X11, tcl and tk.
*/
-#define TKGATE_INCDIRS "/usr/X11R6/include /usr/X11/include /usr/local/include /usr/openwin/include /usr/X/include /usr/include"
+#define TKGATE_INCDIRS "@X11BASE@/include @LOCALBASE@/include"
/*
List of directories to search for tcl library. The list must be in
double quotes and should be all one one line.
*/
-#define TKGATE_LIBDIRS "/usr/X11R6/lib /usr/X11/lib /usr/local/lib /usr/lib"
+#define TKGATE_LIBDIRS "@X11BASE@/lib @LOCALBASE@/lib"
/*
Required libraries. TkGate will not compile unless these libraries are found.
@@ -80,19 +80,19 @@
version number to this path. You can override the default by
uncommenting the defintion of TKGATE_HOMEDIR below.
*/
-#define TKGATE_HOMEDIRBASE "/usr/X11R6/lib"
+#define TKGATE_HOMEDIRBASE "@PREFIX@/share"
/*
The location of the tkgate and gmac executables. If you change this, you will
need to run the configure script again.
*/
-#define TKGATE_BINDIR /usr/X11R6/bin
+#define TKGATE_BINDIR @PREFIX@/bin
/*
The location of the tkgate and gmac man pages. If you change this, you will
need to run the configure script again.
*/
-#define TKGATE_MANDIR /usr/X11R6/man/man1
+#define TKGATE_MANDIR @PREFIX@/man/man1
/*
Digital circuit editor and simulator.
@@ -102,7 +102,7 @@
/*
URL for local documentation
*/
-#define TKGATE_LOCALDOC "file:/usr/X11R6/lib/tkgate-" TKGATE_VERSION "/doc/index.html"
+#define TKGATE_LOCALDOC "file:@PREFIX@/share/tkgate-" TKGATE_VERSION "/doc/index.html"
/*
The TkGate Copyright message.