the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: mosflm
Version: 7.0.5
Revision: 2
Source: http://www.mrc-lmb.cam.ac.uk/harry/mosflm/ver705/build-it-yourself/mosflm705.tgz
SourceDirectory: mosflm705
Source-MD5: 972a14604d5a291501555fc758329dcb
Depends: x11, ccp4 (>= 6.1.2-1), libjpeg-shlibs, libgettext3-shlibs, gcc44-shlibs (>= 4.4.1-1000)
# imosflm (>= 1:1.0.3-1) | imosflm-aqua (>= 1:1.0.3-1)
BuildDepends: gcc44 (>= 4.4.1-1000), ccp4-dev (>= 6.1.2-1), x11, libjpeg, libgettext3-shlibs, fink (>= 0.24.12)
PatchFile: %n.patch
PatchFile-MD5: 237a59e6ce608eb43584d619777c944b
CompileScript: <<
#!/bin/bash -efv
source fink_gfortran.zsh
make
cd bin
mv ipmosflm ipmosflm-705
<<
InstallScript: <<
#!/bin/zsh -efv
mkdir -p %i/bin
cd bin
cp ipmosflm-* %i/bin/.
cp ipmosflm-* %i/bin/ipmosflm
cp ipmosflm-* %i/bin/mosflm
<<
Description: X-ray data processing, large display
DescDetail: <<
Mosflm is a program for integrating single crystal diffraction data
from area detectors. It is assumed that the experiment was conducted
using the Arndt-Wonacott oscillation method, and also that
monochromatic radiation was used.
Mosflm can process data from a wide variety of modern area
detectors, e.g. from Mar Research, Rigaku/MSC, ADSC, DIP etc.
Invoke with "ipmosflm" or "ipmosflm-705" or "mosflm"
Authors:
Harry Powell and
Andrew G.W. Leslie
MRC Laboratory of Molecular Biology
Hills Road,
Cambridge CB2 2QH
UK
E-mail: harry AT mrc-lmb DOT cam DOT ac DOT uk
<<
Homepage: <<
http://www.mrc-lmb.cam.ac.uk/harry/frames/
<<
License: GPL
Maintainer: W. G. Scott
diff -ruN mosflm705.orig/fink_gfortran.zsh mosflm705/fink_gfortran.zsh
--- mosflm705.orig/fink_gfortran.zsh 1969-12-31 16:00:00.000000000 -0800
+++ mosflm705/fink_gfortran.zsh 2009-09-06 14:52:45.000000000 -0700
@@ -0,0 +1,76 @@
+#!/bin/zsh -f
+#
+# setup shell script for the release copies of Mosflm for different
+# platforms.
+#
+# Common stuff first
+#
+
+
+export CCP4_LIB_FILES='-lccp4f -lccp4c -lxdl_view'
+mosroot=${PWD:h}
+export MOSROOT=$mosroot
+echo MOSROOT has been set to $MOSROOT
+moshome=${PWD}
+export MOSHOME=$moshome
+echo MOSHOME has been set to $MOSHOME
+export DEBUG=""
+# intel compiler specifics - change this to your local installation -
+# note that you will need to use gcc 4.* from Apple for the C compilation
+# unless you have bought the Intel C compiler!
+
+GFORTRANPREFIX=$(dirname $( dirname $(/usr/bin/which gfortran) ))
+export F77="gfortran"
+export FC="${F77}"
+export CC="gcc ${DEBUG}"
+export FLINK="gfortran"
+export AR_FLAGS="vru"
+export DPS=${MOSHOME}
+export IND=${MOSHOME}/index
+export UTIL=${MOSHOME}/src/dps/util
+export JPG=${MOSHOME}/jpg
+#
+# now for platform dependent items
+#
+
+###################################################################
+#intel-pc:
+export FFLAGS="-O3 "
+export FFLAGS="-O3 "
+export CFLAGS="-O0 -DPROTOTYPE -DIFC -c -w"
+# if no "fudge.o" vide infra setenv LFLAGS "-Vaxlib -i_dynamic"
+# export LFLAGS="-Vaxlib"
+
+
+#
+# (2) Mosflm directory
+#
+#setenv MOSFLAGS "-O3 -ip -ipo -parallel"
+
+export MOSFLAGS="-O3 "
+export MCFLAGS="-O0 -w"
+export MOSLIBS="-L${GFORTRANPREFIX}/lib -L${CCP4_LIB} ${CCP4_LIB_FILES} -L/usr/X11R6/lib -lXt -lSM -lICE -lX11 -lcurses"
+#
+# (3) CBF directories
+#
+export CBFCFLAGS="-O2 -DPROTOTYPE -DIFC"
+
+export VERBOSE="v"
+export UTILFLAGS="-O -DPROTOTYPE -DIFC -c -w"
+export EXTRAFLAGS="-I${UTIL} "
+export STDCFLAGS=""
+#
+# special for MacOSX - it needs files to exist for rm under some
+# circumstances
+#
+touch ${MOSHOME}/index/junk.a
+touch ${MOSHOME}/src/junk.a
+touch ${MOSHOME}/lib/junk.a
+touch ${MOSHOME}/util/junk.a
+touch ${MOSHOME}/cbf/junk.a
+#exit
+
+echo CCP4 resides in $CCP4
+
+echo "Now issue the command \"make\" "
+
diff -ruN mosflm705.orig/src/dps/index/ind_gen_direct.c mosflm705/src/dps/index/ind_gen_direct.c
--- mosflm705.orig/src/dps/index/ind_gen_direct.c 2009-08-13 09:07:59.000000000 -0700
+++ mosflm705/src/dps/index/ind_gen_direct.c 2009-09-06 14:53:11.000000000 -0700
@@ -41,7 +41,6 @@
/* #include
#include "util.h"
#include "ind_gen_direct.h"
-char *strcat( char *, const char *);
/*------------------------------*
Package: mosflm
Version: 7.0.6
Revision: 4
#Source: http://www.mrc-lmb.cam.ac.uk/harry/mosflm/ver706/build-it-yourself/mosflm706.tgz
Source: none
#SourceDirectory: mosflm706
#Source-MD5: 8acf193fcc51ecd2909024997968db95
Depends: x11, ccp4 (>= 6.1.13-1)
#, libjpeg-shlibs, libgettext3-shlibs, gcc44-shlibs (>= 4.4.1-1000)
# imosflm (>= 1:1.0.3-1) | imosflm-aqua (>= 1:1.0.3-1)
#BuildDepends: gcc44 (>= 4.4.1-1000), ccp4-dev (>= 6.1.2-1), x11, libjpeg, libgettext3-shlibs
#PatchFile: %n.patch
#PatchFile-MD5: 6c1153b570ca1ecea8c88bc702e0a9c8
CompileScript: <<
#!/bin/bash -efv
true
# source fink_gfortran.zsh
# make
# cd bin
# mv ipmosflm ipmosflm-706
<<
InstallScript: <<
#!/bin/bash -efv
mkdir -p %i/bin
source %p/bin/init.sh 2>/dev/null
ln -s $CBIN/ipmosflm %i/bin/ipmosflm-%v
ln -s $CBIN/ipmosflm %i/bin/mosflm
# cd bin
# cp ipmosflm-* %i/bin/.
# cp ipmosflm-* %i/bin/ipmosflm
# cp ipmosflm-* %i/bin/mosflm
<<
Description: X-ray data processing, large display
DescDetail: <<
Mosflm is a program for integrating single crystal diffraction data
from area detectors. It is assumed that the experiment was conducted
using the Arndt-Wonacott oscillation method, and also that
monochromatic radiation was used.
Mosflm can process data from a wide variety of modern area
detectors, e.g. from Mar Research, Rigaku/MSC, ADSC, DIP etc.
Invoke with "ipmosflm" or "ipmosflm-706" or "mosflm"
Authors:
Harry Powell and
Andrew G.W. Leslie
MRC Laboratory of Molecular Biology
Hills Road,
Cambridge CB2 2QH
UK
<<
Homepage: <<
http://www.mrc-lmb.cam.ac.uk/harry/frames/
<<
License: GPL
Maintainer: W. G. Scott
diff -ruN mosflm706.orig/fink_gfortran.zsh mosflm706/fink_gfortran.zsh
--- mosflm706.orig/fink_gfortran.zsh 1969-12-31 16:00:00.000000000 -0800
+++ mosflm706/fink_gfortran.zsh 2009-09-06 14:52:45.000000000 -0700
@@ -0,0 +1,76 @@
+#!/bin/zsh -f
+#
+# setup shell script for the release copies of Mosflm for different
+# platforms.
+#
+# Common stuff first
+#
+
+
+export CCP4_LIB_FILES='-lccp4f -lccp4c -lxdl_view'
+mosroot=${PWD:h}
+export MOSROOT=$mosroot
+echo MOSROOT has been set to $MOSROOT
+moshome=${PWD}
+export MOSHOME=$moshome
+echo MOSHOME has been set to $MOSHOME
+export DEBUG=""
+# intel compiler specifics - change this to your local installation -
+# note that you will need to use gcc 4.* from Apple for the C compilation
+# unless you have bought the Intel C compiler!
+
+GFORTRANPREFIX=$(dirname $( dirname $(/usr/bin/which gfortran) ))
+export F77="gfortran"
+export FC="${F77}"
+export CC="gcc ${DEBUG}"
+export FLINK="gfortran"
+export AR_FLAGS="vru"
+export DPS=${MOSHOME}
+export IND=${MOSHOME}/index
+export UTIL=${MOSHOME}/src/dps/util
+export JPG=${MOSHOME}/jpg
+#
+# now for platform dependent items
+#
+
+###################################################################
+#intel-pc:
+export FFLAGS="-O3 "
+export FFLAGS="-O3 "
+export CFLAGS="-O0 -DPROTOTYPE -DIFC -c -w"
+# if no "fudge.o" vide infra setenv LFLAGS "-Vaxlib -i_dynamic"
+# export LFLAGS="-Vaxlib"
+
+
+#
+# (2) Mosflm directory
+#
+#setenv MOSFLAGS "-O3 -ip -ipo -parallel"
+
+export MOSFLAGS="-O3 "
+export MCFLAGS="-O0 -w"
+export MOSLIBS="-L${GFORTRANPREFIX}/lib -L${CCP4_LIB} ${CCP4_LIB_FILES} -L/usr/X11R6/lib -lXt -lSM -lICE -lX11 -lcurses"
+#
+# (3) CBF directories
+#
+export CBFCFLAGS="-O2 -DPROTOTYPE -DIFC"
+
+export VERBOSE="v"
+export UTILFLAGS="-O -DPROTOTYPE -DIFC -c -w"
+export EXTRAFLAGS="-I${UTIL} "
+export STDCFLAGS=""
+#
+# special for MacOSX - it needs files to exist for rm under some
+# circumstances
+#
+touch ${MOSHOME}/index/junk.a
+touch ${MOSHOME}/src/junk.a
+touch ${MOSHOME}/lib/junk.a
+touch ${MOSHOME}/util/junk.a
+touch ${MOSHOME}/cbf/junk.a
+#exit
+
+echo CCP4 resides in $CCP4
+
+echo "Now issue the command \"make\" "
+