Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12705

Added Files:
        chemtool.info chemtool.patch 
Log Message:
Cleaned up from pre 10.3 and moved to 10.3


--- NEW FILE: chemtool.info ---
Package: chemtool
Version: 1.4.1
Revision: 3
BuildDepends: libjpeg, libpng3, libtiff, glib, dlcompat-dev, gettext-dev, gettext-bin
Depends: dlcompat-shlibs, gtk+, transfig
Source: http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool-%v.tar.gz
Source-MD5: 5d318bcb1252116c51c61d363597270f
PatchScript: sed 's|@PREFIX1@|%i|g' <%a/%n.patch | sed 's|@PREFIX2@|%p|g' | patch -p1
CompileScript: make
InstallScript: <<
 mkdir -p %i/bin
 mkdir -p %i/share/man/man1
 make install
 mkdir -p %i/share/chemtool
 cp chemtool.xpm %i/share/chemtool
 cp -r examples  %i/share/chemtool
<<
DocFiles: README INSTALL TODO
License: GPL
Description: Draws 2-D pictures of organic molecules
DescDetail: <<
Chemtool is a program for drawing organic molecules easily and store them as a
Postscript, X-Bitmap, LaTeX or XFig file. It runs under X-Windows and is written
with GTK+.
<<
DescUsage: <<
doesn't put the xpm file anywhere sensible but is available in the fink
 share/chemtool directory. Examples available in fink share/chemtool/examples
<<
Maintainer: Andrew Rohl <[EMAIL PROTECTED]>
Homepage: http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html

--- NEW FILE: chemtool.patch ---
--- chemtool-1.4.1/Makefile     Thu Nov 15 20:53:23 2001
+++ chemtool-1.4.1-patched/Makefile     Thu Nov 15 22:02:30 2001
@@ -1,5 +1,5 @@
-PREFIX=/usr/local
-LOCALEDIR=/usr/share/locale
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@/locale
 
 ifdef LOCALEDIR
 CFLAGS=-O2 -Wall `gtk-config --cflags` -DMENU -DLOCALEDIR=\"${LOCALEDIR}\" 
@@ -7,7 +7,7 @@
 CFLAGS=-O2 -Wall `gtk-config --cflags` -DMENU -DDISABLE_NLS
 endif
 
-CC=gcc
+CC=cc
 CP=/bin/cp
 RM=/bin/rm -f
 MAKE=make
@@ -31,11 +31,11 @@
 
 install: chemtool src-cht/cht
        ${CP} chemtool src-cht/cht ${PREFIX}/bin
-       ${CP} chemtool.1 ${PREFIX}/man/man1
-       ${CP} cht.1     ${PREFIX}/man/man1
-       ifdef LOCALEDIR
-       for L in `ls locales`; do ${CP} locales/$$L/chemtool.mo 
${LOCALEDIR}/$$L/LC_MESSAGES;done
-       endif 
+       ${CP} chemtool.1 ${PREFIX}/share/man/man1
+       ${CP} cht.1     ${PREFIX}/share/man/man1
+ifdef LOCALEDIR
+       for L in `ls locales`; do mkdir -p  @PREFIX1@/share/locale/$$L/LC_MESSAGES; 
${CP} locales/$$L/chemtool.mo @PREFIX1@/share/locale/$$L/LC_MESSAGES;done
+endif 
 clean:
        ${RM} *.o *~ src-cht/*.o src-cht/*~ chemtool src-cht/cht
 
--- chemtool-1.4.1/main.c       Fri Sep 28 20:28:49 2001
+++ chemtool-1.4.1-patched/main.c       Thu Nov 15 20:54:37 2001
@@ -11,6 +11,7 @@
  *      This software comes with ABSOLUTELY NO WARRANTY
  */
 
+#include <ctype.h>
 #include "ct.h"
 #include "bitmap1.h"
 #include "templates.h"
@@ -19,7 +20,7 @@
 #include <stdio.h>
 #include <strings.h>
 #include <string.h>
-#include <ctype.h>
+/*#include <ctype.h>*/
 #include <locale.h>
 #ifdef DISABLE_NLS
 #define _(Text) Text
--- chemtool-1.4.1/src-cht/Makefile     Sat Sep  8 22:56:19 2001
+++ chemtool-1.4.1-patched/src-cht/Makefile     Thu Nov 15 20:54:58 2001
@@ -1,4 +1,4 @@
 default: cht
 
 cht:   cht-1.8.c
-       gcc -O cht-1.8.c -o cht
+       cc -O cht-1.8.c -o cht



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to