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

Added Files:
        pointless.info pointless.patch 
Log Message:
ccp4-associated program pointless, updated version, promoted to stable

--- NEW FILE: pointless.patch ---
diff -ruN pointless-orig/Makefile pointless/Makefile
--- pointless-orig/Makefile     2007-11-23 05:49:31.000000000 -0800
+++ pointless/Makefile  2007-12-11 17:54:06.000000000 -0800
@@ -20,16 +20,20 @@
 #XCPPFLAGS= -ftemplate-depth-120 -fcoalesce-templates -Wno-long-double
 
 # CCTBX locations
-CCTBX=${CLIB}/cctbx
+CCTBX=/@prefix@/share/xtal/cctbx
 CCTBX_sources=${CCTBX}/cctbx_sources
 ## Blank for version 1
 CCTBX_VERSION=
 ## Set for version 2
-##CCTBX_VERSION="\#define CCTBX_VERSION_2"
+##
+CCTBX_VERSION="\#define CCTBX_VERSION_2"
 
 # Clipper location
-CLPR=${CLIB}/clipper
+# CLPR=${CLIB}/clipper
+CLPR=/@prefix@/share/xtal/ccp4-onlylibs-dev-6.0.2/lib/clipper
 
+CLIB=/@prefix@/share/xtal/ccp4-onlylibs-dev-6.0.2/lib
+CCP4=/@prefix@/share/xtal/ccp4-onlylibs-dev-6.0.2
 #<<<<< Includes
 # CCP4
 ICCP4=-I${CLIBS}
@@ -41,6 +45,7 @@
 # cctbx
 ITBX=\
 -I${CCTBX_sources}/boost \
+-I/@prefix@/share/xtal/cctbx/cctbx_build/include \
 -I${CCP4}/include \
 -I${CCTBX_sources}/cctbx/include \
 -I${CCTBX_sources}/scitbx/include
@@ -49,13 +54,13 @@
 
 #<<<<< Libraries
 # CCP4
-LCCP4=-L${CLIB} -lccp4f -lccp4c -lm
+LCCP4=-L${CLIB} -lccp4f -lccp4c -lm -L/@prefix@/lib -ldrfftw -lfftw
 
 # Clipper
 LCLPR=-L${CLIB} -lclipper-ccp4 -lclipper-core 
 
 # cctbx
-LTBX= -L${CLIB} -lcctbx 
+LTBX= -L/@prefix@/share/xtal/cctbx/cctbx_build/lib -lcctbx 
 
 LDLIBS=${LTBX} ${LCLPR} ${LCCP4}
 

--- NEW FILE: pointless.info ---
Package: pointless
Version: 1.2.10
Revision: 1
Source: ftp://ftp.ccp4.ac.uk/ccp4/current/prerelease/%n-%v-src.tar.gz
Source-MD5: d2115796ea0aeaa42b2fe8f4ae16bcfd
Source2: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/prerelease/%n.html
Source2-MD5: 9e26dd2b8892e400f82f7b14c4e5c285
Source3: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/prerelease/%n-ccp4i-0.0.8.tar.gz
Source3-MD5: e4d9a43059ad3981ea7eda165c5ba5aa
NoSourceDirectory: yes
Depends: ccp4 (>= 6.0.2), fftw-shlibs
BuildDepends: fftw, ccp4-onlylibs-dev (>= 6.0.2-8) , cctbx-10.4 | cctbx-10.5
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
PatchScript: <<
 sed 's|@prefix@|%p|g' <%a/%n.patch | patch -p1
 mv pointless pointless-ccp4i
#cp Makefile.linux Makefile
#perl -pi -e 's|CCTBX\=\${CLIB}/cctbx|CCTBX\=ccp4-6.0.2/lib/cctbx|g' Makefile
#perl -pi -e 's|lm|lm -L%p/lib -ldrfftw -lfftw|' Makefile
<<
CompileScript: << 
#!/bin/bash -efv
source %p/bin/init.sh
make
<<
InstallScript: <<
#!/bin/bash -efv
source %p/bin/init.sh
mkdir -p %i/share/xtal/ccp4-6.0.2/bin
mkdir -p %i/share/xtal/ccp4-6.0.2/html
cp %n  %i/share/xtal/ccp4-6.0.2/bin/.
cp %n.html  %i/share/xtal/ccp4-6.0.2/html/.
cd pointless-ccp4i
pwd
mkdir -p %i/share/xtal/pointless
cp modules.def %i/share/xtal/pointless
cp ccp4i_packages.def %i/share/xtal/pointless
mkdir -p %i/share/xtal/ccp4-6.0.2/ccp4i/templates
cp templates/pointless.com %i/share/xtal/ccp4-6.0.2/ccp4i/templates/. 
mkdir -p %i/share/xtal/ccp4-6.0.2/ccp4i/scripts
cp scripts/pointless_centre.script scripts/pointless_index.script 
scripts/pointless_laue.script %i/share/xtal/ccp4-6.0.2/ccp4i/scripts/. 
#mkdir -p %i/share/xtal/ccp4-6.0.2/ccp4i/help
# cppointless-ccp4i/help/* %i/share/xtal/ccp4-6.0.2/ccp4i/help/. 
mkdir -p %i/share/xtal/ccp4-6.0.2/ccp4i/tasks
cp tasks/pointless.def  tasks/pointless_index.def tasks/pointless_laue.tcl 
tasks/pointless_centre.def tasks/pointless_index.tcl tasks/pointless_utils.tcl 
tasks/pointless_centre.tcl tasks/pointless_laue.def  
%i/share/xtal/ccp4-6.0.2/ccp4i/tasks/. 
<<
Description: CCP4 point and space group and index tests
DescDetail: <<
Pointless has several possible functions:
1. Determination of Laue group and space group (LAUEGROUP mode).
2. Testing of alternative indexing schemes
3. Checking the centre of the diffraction pattern
4. Reindexing

Detailed description available on package homepage link and by issuing
the command "ccp4help pointless"

To use the CCP4i interface with pointless, first execute the commands
mkdir -p ~/.CCP4/unix
touch ~/.CCP4/unix/modules.def
cat %p/share/xtal/pointless/modules.def >> ~/.CCP4/unix/modules.def
<<
License: Restrictive             
Homepage: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/prerelease/pointless.html
Maintainer: W. G. Scott <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to