Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv3141/stable/main/finkinfo/sci

Added Files:
        tkgate.info tkgate.patch 
Log Message:
tkgate to stable


--- NEW FILE: tkgate.patch ---
diff -Naur tkgate-old/Imakefile tkgate-new/Imakefile
--- tkgate-old/Imakefile        2010-10-25 02:12:04.000000000 -0400
+++ tkgate-new/Imakefile        2010-10-25 02:15:41.000000000 -0400
@@ -99,4 +99,4 @@
        @echo "All files from ${HOMEDIR}"
 
 install::
-       cp -r locale ${HOMEDIR}
+       cp -r locale ${DESTDIR}${HOMEDIR}
diff -Naur tkgate-old/config.h tkgate-new/config.h
--- tkgate-old/config.h 2010-10-25 02:12:04.000000000 -0400
+++ tkgate-new/config.h 2010-10-25 02:15:41.000000000 -0400
@@ -39,7 +39,7 @@
 /*
   Tcl/Tk Version numbers to use.
 */
-#define TKGATE_TCLTK_VERSIONS          "8.4 8.3 8.2 8.1 8.0"
+#define TKGATE_TCLTK_VERSIONS          "8.5 8.4 8.3 8.2 8.1 8.0"
 
 /*
   Japanese Tcl/Tk Version numbers to use.
@@ -52,13 +52,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 
/pkgs/include /usr/local/include /usr/openwin/include /usr/X/include 
/usr/include /sw/include"
+#define TKGATE_INCDIRS         "/usr/X11R6/include /usr/X11/include 
/pkgs/include /usr/local/include /usr/openwin/include /usr/X/include 
/usr/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 /pkgs/lib 
/usr/local/lib /usr/lib /sw/lib"
+#define TKGATE_LIBDIRS         "/usr/X11R6/lib /usr/X11/lib /pkgs/lib 
/usr/local/lib /usr/lib"
 
 /*
   Required libraries.  TkGate will not compile unless these libraries are 
found.
@@ -85,13 +85,13 @@
   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@/share/man/man1
 
 /*
   Digital circuit editor and simulator.
@@ -101,7 +101,7 @@
 /*
   URL for local documentation
  */
-#define TKGATE_LOCALDOC                "file:/usr/X11R6/lib/tkgate-" 
TKGATE_VERSION "/doc/index.html"
+#define TKGATE_LOCALDOC                "file:@PREFIX@/share/doc/index.html"
 
 /*
   The TkGate Copyright message.
@@ -204,16 +204,14 @@
  */
 
 /*
- * Set this to the list of include file directories to search
- *
- * #define TKGATE_IPATH                -I/usr/local/include/tk8.0 
-I/usr/local/include/tcl8.0 -I/usr/X11R6/include
+ * Set this to the list of library directories to search
  */
+#define TKGATE_LPATH           -L@PREFIX@/lib -L/usr/lib -L/usr/X11R6/lib
 
 /*
- * Set this to the list of libraries to link with
- *
- * #define TKGATE_LIBS         -ltk80 -ltcl80 -lX11 -lm
+ * Set this to the list of include file directories to search
  */
+#define TKGATE_IPATH           -I@PREFIX@/include -I/usr/include 
-I/usr/X11R6/include
 
 
 /*
@@ -221,9 +219,8 @@
  *  script files, and the simulator executable.  This directory
  *  name must be in quotes.  If you change this, you will need to run
  *  the configure script again.
- *
- * #define TKGATE_HOMEDIR      "/usr/home/tkgate"
  */
+#define TKGATE_HOMEDIR "@PREFIX@/share/tkgate"
 
 /*
  * Set this to a backup directory to search for the tkgate home directory.

--- NEW FILE: tkgate.info ---
Package: tkgate
Version: 1.8.7
Revision: 2
Architecture: x86_64
Description: Digital circuit simulator
License: GPL
Maintainer: Dave Vasilevsky <v...@users.sourceforge.net>

BuildDepends: fink (>= 0.24.12), tcltk-dev (>= 1:8.5-1), tcltk-dev (<< 
1:8.6-1), xmkmf
Depends: tcltk (>= 1:8.5-1), tcltk (<< 1:8.6-1)

Source: ftp://gadoid.ices.cmu.edu/pub/%{Ni}/%{Ni}-%v.tgz
Source-MD5: 628b5ca66283fc1473c9ef7300ae73c8

PatchFile: %n.patch
PatchFile-MD5: d2562332007dba4d9726c9a8ecb8427d
PatchScript: <<
        sed -e 's|@PREFIX@|%p|g' %{PatchFile} | patch -p1
<<

CompileScript: <<
        #!/bin/sh -ev
        export PATH="%p/lib/xmkmf/bin:$PATH"
        %{default_script}
<<

InstallScript: <<
        make install DESTDIR=%d
        make install.man LIBDIR=%p/share DESTDIR=%d
<<

DescPort: <<
        * Uses weird imake system, need to pre-define all kinds of variables in
        config.h *BEFORE* running configure.
        * DESTDIR missing from main IMakefile
        * Package really doesn't like putting html docs anywhere normal
        * Allow tcltk version 8.5
<<

DocFiles: COPYING README

Homepage: http://www.tkgate.org/


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to