Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/sci
In directory usw-pr-cvs1:/tmp/cvs-serv31390
Added Files:
chemtool-1.4.1-2.info chemtool-1.4.1-2.patch
Log Message:
10.2 ok
--- NEW FILE: chemtool-1.4.1-2.info ---
Package: chemtool
Version: 1.4.1
Revision: 2
BuildDepends: libjpeg, libpng, libtiff, glib
Depends: gtk+, transfig
Source: http://www.uni-ulm.de/~s_tvolk/chemtool/src/chemtool-%v.tar.gz
PatchScript: sed 's|@PREFIX1@|%i|g' <%a/%f.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 representations 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://www.uni-ulm.de/~s_tvolk/chemtool.html
--- NEW FILE: chemtool-1.4.1-2.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
+PREFIX=@PREFIX1@
+LOCALEDIR=@PREFIX2@/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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits