Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv28258

Modified Files:
        molmol.info 
Log Message:
molmol update for 10.5 compatibility

Index: molmol.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/molmol.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- molmol.info 27 Nov 2006 17:13:19 -0000      1.6
+++ molmol.info 10 Nov 2007 17:05:29 -0000      1.7
@@ -1,6 +1,6 @@
 Package: molmol
 Version: 2k.2.0
-Revision: 1034
+Revision: 1035
 CustomMirror: <<
  eur-CH: ftp://ftp.mol.biol.ethz.ch/software/MOLMOL/
  nam-US:http://freedom7.swmed.edu/pub/software/MOLMOL/
@@ -10,13 +10,30 @@
 SourceDirectory: ../%f
 Source2: mirror:custom:unix-gzip/%n-%v-doc.tar.gz
 Source2-MD5: 517545b60b0179ab691a679ed29903a7
+# Source3: mirror:custom:unix-gzip/widgets-sgi.tar.gz
+Source3: http://xanana.ucsc.edu/xtal/widgets-sgi.tar.gz
+Source3-MD5: 83509f5ee7ecd9287a3334cfd8585d08
 Depends: x11, freeglut-shlibs, openmotif3-shlibs, libtiff-shlibs, 
libjpeg-shlibs, libpng3-shlibs
 BuildDepends: freeglut, openmotif3-shlibs, openmotif3, libtiff, libjpeg, 
libpng3, x11-dev
 PatchScript: <<
+#!/bin/zsh -evf
 chmod -R +w *
-sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
+if [[ $(sw_vers -productVersion) < 10.5 ]]; then
+    sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
+else
+    sed 's|@PREFIX@|%p|g' <%a/%n-10.5.patch | patch -p1
+fi
 <<
 CompileScript: << 
+#!/bin/sh -ev
+cd widgets-sgi
+cc -bind_at_load -I/usr/X11R6/include -I/%p/include -O3 -c GLwDrawA.c
+cc -bind_at_load -I/usr/X11R6/include -I/%p/include -O3 -c GLwMDrawA.c
+ar rv libGLw.a GLwDrawA.o GLwMDrawA.o
+ranlib libGLw.a
+mkdir GL
+mv *.h GL
+cd ..
 make
 <<
 InstallScript: <<
@@ -32,6 +49,11 @@
 <<
 Homepage: http://www.mol.biol.ethz.ch/wuthrich/software/molmol/
 Description:  Molecular graphics display program
+DescPackaging: <<
+Build molmol against a local copy of the original widgets-sgi
+sources for libGLw.a until Apple updates Leopard with a libGLw
+which is actually built with Motif support again.
+<<
 DescDetail: <<
 MOLMOL is a molecular graphics program for displaying, analyzing, 
 and manipulating the three-dimensional structure of biological 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to