the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: chemtool
Version: 1.6.12
Revision: 4
BuildDepends: <<
atk1 (>= 1.28.0-1),
cairo (>= 1.8.8-3),
fink (>= 0.24.12-1),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.22.0-1),
glitz,
gtk+2-dev (>= 2.18.0-1),
libgettext8-dev,
pango1-xft2-ft219-dev (>= 1.24.5-4),
pixman (>= 0.16.0-1),
pkgconfig (>= 0.23),
x11-dev
<<
Depends: <<
atk1-shlibs (>= 1.28.0-1),
cairo-shlibs (>= 1.8.8-3),
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
glib2-shlibs (>= 2.22.0-1),
gtk+2-shlibs (>= 2.18.0-1),
libgettext8-shlibs,
pango1-xft2-ft219-shlibs (>= 1.24.5-4),
transfig-graphicx (>= 3.2.5-1),
x11
<<
Source: http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool-%v.tar.gz
Source-MD5: f9e0633cbda09fcfe5a4ea4c56bcd460
PatchFile: %n.patch
PatchFile-MD5: 0e8ddf8ac2ba3a9691b7c885bd32f034
SetCPPFLAGS: -MD
SetCFLAGS: -Os
ConfigureParams: --mandir=%p/share/man --with-gnomedir=%p PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
CompileScript: <<
%{default_script}
fink-package-precedence --depfile-ext='\.d' .
<<
InstallScript: <<
make install DESTDIR=%d
mkdir -p %i/share/chemtool
cp chemtool.xpm %i/share/chemtool
cp -r examples %i/share/chemtool
cp -r gnome %i/share/chemtool
cp -r kde %i/share/chemtool
<<
DocFiles: README TODO ChangeLog NEWS using_chemtool.html
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
<<
DescPackaging: <<
dmacks: uses whichever GNOME (glib/gtk+), 1 or 2, is present and
preferring 2, so we'll go with GNOME2; transfig is needed to supply
'fig2dev' executable, not lib linking, so no GCC-specific deps
<<
Maintainer: None
Homepage: http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html
diff -Nurd -x'*~' chemtool-1.6.12.orig/Makefile.in chemtool-1.6.12/Makefile.in
--- chemtool-1.6.12.orig/Makefile.in 2008-03-26 06:30:12.000000000 -0400
+++ chemtool-1.6.12/Makefile.in 2010-11-15 09:02:55.000000000 -0500
@@ -232,7 +232,7 @@
AM_CPPFLAGS = -I. -I$(srcdir) @GTK_CFLAGS@
# Link time dependencies.
-LDADD = @LIBINTL@ @GTK_LIBS@ @EMFLIBS@
+LDADD = @LIBINTL@ @GTK_LIBS@ @EMFLIBS@ -L/usr/X11R6/lib -lX11
# Additional files to be distributed.
EXTRA_DIST = autogen.sh autoclean.sh