the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: imosflm-aqua
Version: 1.0.3
Epoch: 1
Revision: 1
Source: http://www.mrc-lmb.cam.ac.uk/harry/imosflm/ver103/downloads/imosflm-%v.zip
Source-MD5: c785a6290c5a08fd5cc584914b77323e
PatchFile: imosflm-aqua.patch
PatchFile-MD5: 7e99f094a40fed6d5d3a8fc2f976ede1
Conflicts: imosflm
Replaces: imosflm
Depends: macosx, mosflm (>= 7.0.5), ccp4 (>= 6.1.2-1)
BuildDepends: fink (>= 0.29.00)
Distribution: 10.6
BuildDependsOnly: false
SourceDirectory: imosflm
NoSetLDFLAGS: true
NoSetCPPFLAGS: true
Description: Installs mosflm GUI for use with aqua TclTk
DescDetail: <<
Enables users to run the optional imosflm interface for the ccp4
program mosflm by installing all the required dependencies.
<<
PatchScript: <<
#!/bin/zsh -evf
/bin/rm -f lib/tkImageLoad.so
/bin/rm -rf c
/usr/bin/sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
<<
CompileScript: <<
#!/bin/zsh -evf
set +x
if [[ ! -x /System/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish.app/Contents/MacOS/Wish || $(sw_vers -productVersion) < 10.6 ]];then
print "Requires system TclTk on OS X 10.6 to be present"
return 1
fi
<<
License: OSI-Approved
Maintainer: W. G. Scott
Homepage: http://www.mrc-lmb.cam.ac.uk/harry/imosflm/
InstallScript: <<
#!/bin/zsh -evf
mkdir -p %i/share/xtal
/bin/cp -r ../imosflm %i/share/xtal/.
mkdir -p %i/bin
ln -s %p/share/xtal/imosflm/src/imosflm %i/bin/imosflm
ln -s %p/share/xtal/imosflm/src/imosflm %i/bin/imosflm-aqua
<<
diff -ruN imosflm.orig/src/imosflm imosflm/src/imosflm
--- imosflm.orig/src/imosflm 2009-08-10 15:57:50.000000000 -0700
+++ imosflm/src/imosflm 2009-09-06 18:29:04.000000000 -0700
@@ -1,14 +1,14 @@
-#!/bin/sh
+#!/bin/sh -f
-# At LMB (and probably elsewhere!) ignore the following 3 lines - this should
-# be set up in a site-wide setup file.
-#
-# N.B. If you want to setup a site-wide installation, you'll probably want to
-# edit and uncomment the following lines to point to the site-wide wish8.4
-# and Mosflm 7.0.2 executables
+abspath=@PREFIX@/share/xtal/imosflm/src/imosflm
-#export MOSFLM_WISH=/path/to/your/wish8.4
-#export MOSFLM_EXEC=/path/to/your/ipmosflm
+export MOSFLM_WISH=/usr/bin/wish8.4
+export MOSFLM_EXEC=@PREFIX@/bin/ipmosflm-705
+
+export CCP4_BROWSER=Safari
+export MOSDIR=${PWD}
+
+echo "Using $MOSFLM_EXEC with $MOSFLM_WISH starting in $MOSDIR"
STARTDIR=
IMAGEDIR=
STARTDIRSET=
@@ -119,14 +119,7 @@
esac
done
-if [ $HOSTTYPE = "intel-pc" ]
-# echo looks like an Intel Mac to me...
-then export GFORTRAN_UNBUFFERED_ALL=1
-fi
-case $0 in
- /*) abspath=$0 ;;
- *) abspath=$PWD/$0 ;;
-esac
+
# function to test wish executable
test_wish()
Package: imosflm-aqua
Version: 1.0.4
Epoch: 1
Revision: 4
Source: http://www.mrc-lmb.cam.ac.uk/harry/imosflm/ver104/downloads/imosflm-%v.zip
Source-MD5: dc0675c693d5677efa413fd0d916f9ae
PatchFile: imosflm-aqua.patch
PatchFile-MD5: d1555a89f39bc65fcf7117e94c2dcba1
Conflicts: imosflm
Replaces: imosflm
Depends: macosx, ccp4 (>= 6.1.13-1), mosflm (>= 7.0.6-4)
BuildDepends: fink (>= 0.29.00)
Distribution: 10.6
BuildDependsOnly: false
SourceDirectory: imosflm
NoSetLDFLAGS: true
NoSetCPPFLAGS: true
Description: Installs mosflm GUI for use with aqua TclTk
DescDetail: <<
Enables users to run the optional imosflm interface for the ccp4
program mosflm by installing all the required dependencies.
<<
PatchScript: <<
#!/bin/zsh -evf
/bin/rm -f lib/tkImageLoad.so
/bin/rm -rf c
/usr/bin/sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
<<
CompileScript: <<
#!/bin/zsh -evf
set +x
if [[ ! -x /System/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish.app/Contents/MacOS/Wish || $(sw_vers -productVersion) < 10.6 ]];then
print "Requires system TclTk on OS X 10.6 to be present"
return 1
fi
<<
License: OSI-Approved
Maintainer: W. G. Scott
Homepage: http://www.mrc-lmb.cam.ac.uk/harry/imosflm/
InstallScript: <<
#!/bin/zsh -evf
mkdir -p %i/share/xtal
/bin/cp -r ../imosflm %i/share/xtal/.
mkdir -p %i/bin
ln -s %p/share/xtal/imosflm/src/imosflm %i/bin/imosflm
ln -s %p/share/xtal/imosflm/src/imosflm %i/bin/imosflm-aqua
<<
diff -ruN imosflm.orig/src/imosflm imosflm/src/imosflm
--- imosflm.orig/src/imosflm 2010-01-29 15:56:58.000000000 -0800
+++ imosflm/src/imosflm 2010-02-15 12:50:55.000000000 -0800
@@ -7,8 +7,16 @@
# edit and uncomment the following lines to point to the site-wide wish8.4
# and Mosflm executables
-#export MOSFLM_WISH=/path/to/your/wish8.4
-#export MOSFLM_EXEC=/path/to/your/ipmosflm
+abspath=@PREFIX@/share/xtal/imosflm/src/imosflm
+
+export MOSFLM_WISH=/usr/bin/wish8.4
+export MOSFLM_EXEC=$CBIN/ipmosflm
+
+export CCP4_BROWSER=Safari
+export MOSDIR=${PWD}
+
+echo "Using $MOSFLM_EXEC with $MOSFLM_WISH starting in $MOSDIR"
+
STARTDIR=
IMAGEDIR=
STARTDIRSET=
@@ -119,14 +127,6 @@
esac
done
-if [ $HOSTTYPE = "intel-pc" ]
-# echo looks like an Intel Mac to me...
-then export GFORTRAN_UNBUFFERED_ALL=1
-fi
-case $0 in
- /*) abspath=$0 ;;
- *) abspath=$PWD/$0 ;;
-esac
# function to test wish executable
test_wish()