Update of /cvsroot/fink/dists/10.3/stable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18445
Added Files:
ccp4.info ccp4.patch
Log Message:
ccp4 for 10.3 stable/sci
--- NEW FILE: ccp4.info ---
Package: ccp4
Version: 5.0.2
Revision: 14
#
# Revision 14 includes these post-release patches obtained from CCP4 web site
March 15, 2005.
#
# CCP4_utils-25Aug2004.tcl.diff cmtzlib_f-10Aug2004.c.diff
lsqkab-9Aug2004.f.diff
# abs.f-18Aug2004.f dmmulti-12Aug2004.f.diff
refmac5-13Aug2004.tcl.diff
# ccp4_parser-25Aug2004.c.diff dmmulti_dmlib-12Aug2004.f.diff
unsupported-Makefile.in-11Aug2004.diff
# pdb_utils-17Sep2004.tcl maprot-20Sep2004.f
mapmask-20Sep2004.f
# ccp4i/templates/mapmask.com ccp4i mail interface fixed to work with OSX
Mail.app
# autosnd-15Nov2004.f cmtzlib_f-24Dec2004.c.diff
cmtzlib_f-14Jan2005.c
# ncsref-26Jan2005.script.diff truncate-02Mar2005.com.diff
truncate-02Mar2005.def.diff
# truncate-02Mar2005.tcl.diff`
#
#
Source: ftp://ftp.%n.ac.uk/%n/current/packed/%n-%v.tar.gz
Source-MD5: 7888f73c0e92bc684f9da8bd75413e64
SourceDirectory: %n-%v
Source2: http://chemistry.ucsc.edu/~wgscott/xtal/xtalfink/XCCPJiffy-custom.gz
Source2-MD5: 21568dd2475505929573a3fd452c538f
#
Depends: x11, tcltk, blt
BuildDepends: g77 (>= 3.4.0-2), f2c, fort77, tcltk-dev
Replaces: mosflm (<= 6.2.3-2), mosflm-small (<= 6.2.3-2), refmac (<= 5.1999-3)
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
Patch: %n.patch
PatchScript: <<
#!/bin/zsh -f
umask 0022
#
# setup script for tcsh, zsh and bash users
export TEMPXTAL=$PWD:h
#
perl -pi.bak -e 's|/swprefix|%p|g' include/%n.setup* # location of
tcktk, blt
perl -pi.bak -e 's|/xtal|\$TEMPXTAL|g' include/%n.setup* # build prefix
(changed in install)
cp include/%n.setup-dist include/%n.setup
rm -f include/%n.setup-bash
#
# Quick-fix for some compilation header omissions
cp %p/include/f2c.h lib/ccif/g2c.h
cp %p/include/f2c.h lib/src/g2c.h
cp %p/include/f2c.h lib/g2c.h
cp %p/include/f2c.h x-windows/Mosflm/cbf/src/g2c.h
cp %p/include/f2c.h x-windows/Mosflm/src/g2c.h
cp %p/include/f2c.h x-windows/RasMol/src/g2c.h
cp %p/include/f2c.h x-windows/ipdisp/src/g2c.h
cp %p/include/f2c.h x-windows/xdl_view/src/g2c.h
#
# Set up XCCPJiffy wrapper scripts in $CCP4/etc
chmod a+x etc/x*
#
<<
CompileScript: <<
#!/bin/zsh -f
umask 0022
export TEMPXTAL=$PWD:h
. include/%n.setup-sh
./configure --with-x Darwin
# fix a post-configure bug
perl -pi.bak -e 's/EXTRA_LOAD_FLAGS = -lg2c//g' x-windows/XCCPJIFFY/Imakefile
#
make -i
make -i install
mv $CBIN/xplot84driver $CBIN/xplot84driver.exe
#
# Manually link xloggraph with g77 (fails in make)
cd x-windows/XCCPJIFFY
g77 -fno-second-underscore -o xloggraph -L/usr/lib msg_box.o ZDr2d.o
EditString.o hardcopy_ctrl.o xloggraph.o log_file.o tom_fortran_interface.o
bits_and_pieces.o graphics.o -g -Os -I/usr/include/X11R6 -L/usr/X11R6/lib -lXaw
-lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm -lgcc
#
cp xloggraph $CBIN/xloggraph.exe
cd ../..
#
make clean
<<
InstallScript: <<
#!/bin/zsh -f
umask 0022
export TEMPXTAL=$PWD:h
. include/%n.setup-sh
# Change environment scripts to match final installation
perl -pi.bak -e 's|\$TEMPXTAL|%p/share/xtal|g' include/%n.setup-sh #
install prefix
perl -pi.bak -e 's|\$TEMPXTAL|%p/share/xtal|g' include/%n.setup #
install prefix
#
mkdir -p %i/share/xtal/%n-%v/help
mkdir -p %i/share/man/man1
# set up man pages in a fink-compliant manner
cd $PWD/doc
mv rasmol.doc eightbit_rasmol.doc
foreach docfilepage ( *.doc )
cp ${docfilepage} %i/share/man/man1/${docfilepage:r}.1
cp ${docfilepage} %i/share/xtal/%n-%v/help/${docfilepage:r}
end
# back to build directory
cd ..
#
cp ../XCCPJiffy-custom.gz XCCPJiffy.gz ; gunzip XCCPJiffy.gz; chmod a+x
XCCPJiffy
perl -pi.bak -e 's|5.0.1|%v|g' XCCPJiffy
mv -f XCCPJiffy lib/X11/app-defaults/XCCPJiffy
# install everything in one place -- users will require this
cp -R * %i/share/xtal/%n-%v/.
#
# make scripts for %p/etc/profile.d
mkdir -p %i/etc/profile.d
echo "source %p/share/xtal/%n-%v/include/%n.setup" >
%i/etc/profile.d/%n.csh
echo ". %p/share/xtal/%n-%v/include/%n.setup-sh" >
%i/etc/profile.d/%n.sh
chmod a+x %i/etc/profile.d/%n.*
#
chmod a+x %i/share/xtal/%n-%v/ccp4i/bin/osx_ccp4_mail
#
chmod a+x %i/share/xtal/%n-%v/etc/ccp4help
#
# needed for compilation of ancilliary programs such as future versions of
mosflm
#
ranlib %i/share/xtal/%n-%v/lib/*.a
#
<<
Description: Macromolecular crystallography package
DescDetail: <<
CCP4 macromolecular crystallography suite of approximately
200 programs and utilities.
Type "ccp4help" for a summary listing of all ccp4 programs.
Type "ccp4help foo" for a detailed description of program "foo."
Invoke optional ccp4i gui for the first run using: sudo ccp4i
Thereafter, invoke without sudo.
This version compiles with Apple's Lapack/Blas
License agreement is part of configure file -- print out form and mail in,
additional comments at http://chemistry.ucsc.edu/~wgscott/xtal/page5.html
CCP4 files will be installed under /sw/share/xtal/ccp4-5.0.2
This revision includes all available CCP4 patches as of March 15, 2005,
and new bash and zsh command completions specific to ccp4.
<<
DocFiles: README CHANGES COPYING PROBLEMS INSTALL INSTALL.html INSTALL.ps
ccp4i_installation.html academic_software_licence.pdf
academic_software_licence.ps.gz academic_software_licence.rtf
Homepage: http://www.ccp4.ac.uk
License: Restrictive
Maintainer: W. G. Scott <[EMAIL PROTECTED]>
--- NEW FILE: ccp4.patch ---
diff -ruN ccp4-5.0.2-orig/ccp4i/bin/osx_ccp4_mail
ccp4-5.0.2/ccp4i/bin/osx_ccp4_mail
--- ccp4-5.0.2-orig/ccp4i/bin/osx_ccp4_mail 1969-12-31 16:00:00.000000000
-0800
+++ ccp4-5.0.2/ccp4i/bin/osx_ccp4_mail 2004-10-20 15:16:09.000000000 -0700
@@ -0,0 +1,164 @@
+#!/usr/bin/perl
+# Drop-in replacement for /usr/bin/mail that uses Mail.app (via an
+# applescript) rather than sendmail to send mail. Unlike /usr/bin/mail,
+# you can't use it for reading mail.
+#
+# usage: mail [<options>] <recipients>
+# options:
+# -v be verbose
+# -g activate Mail.app to approve the message
+# -F <from> specify the From: address
+# -b <bcc> specify Bcc: recipients in a comma-separated list
+# -c <cc> specify Cc: recipients in a comma-separated list
+# -s <subject> specify the message subject
+#
+# The body of the message is read from standard input.
[...4531 lines suppressed...]
--- ccp4-5.0.2-orig/unsupported/src/Makefile.in 2003-12-01 03:02:44.000000000
-0800
+++ ccp4-5.0.2/unsupported/src/Makefile.in 2004-08-11 23:02:57.000000000
-0700
@@ -1,7 +1,7 @@
# Makefile tail for CCP4 unsupported programs. This will be modified by
configure.
-# $Id: Makefile.in,v 1.23 2003/12/01 11:02:44 mdw Exp $
+# $Id: Makefile.in,v 1.24 2004/08/11 15:59:56 pjx Exp $
# variables which should be set by configure: top_srcdir, CC, CFLAGS,
# FC, FFLAGS, F, LNS, SETFLAGS, EVAL, LDFLAGS, INSTALL_PROGRAM
@@ -22,7 +22,7 @@
# end if adding to this list)
FTARGETS = \
angles asc2p84 axissearch compar \
-difres havecs hbond helixang \
+difres extends havecs hbond helixang \
mapexchange mapreplace p842asc postref \
refindex reforigin rotaprep symfit \
vecsum zeroed
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits