1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/biology/deft/files/patch-aa
Will Andrews a500b8cdd1 Fix build for 4.0 and later. Make DESCR shorter.
PR:		19092
Submitted by:	MAINTAINER
2000-06-07 17:10:12 +00:00

33 lines
816 B
Plaintext

--- ../examples/DeFT.orig Thu Aug 27 16:35:41 1998
+++ ../examples/DeFT Wed May 31 18:40:28 2000
@@ -1,10 +1,14 @@
+#!/bin/csh -f
#
-# here is the shell for running DeFT
+# running DeFT
#
-setenv my_directory $HOME/DeFT_2.2/examples
-setenv DeFT_directory $HOME/DeFT_2.2
-setenv temp_directory /scratch/tmp$$
+setenv my_directory $2
+if (null$my_directory == null) then
+ setenv my_directory `echo $PWD`
+endif
+setenv DeFT_directory /usr/local/share/DeFT
+setenv temp_directory /usr/tmp/tmp$$
mkdir $temp_directory
cd $temp_directory
@@ -19,9 +23,7 @@
chmod u+w $temp_directory/*
-cp $DeFT_directory/source/DeFT DeFT
-
-time DeFT < input >& $my_directory/$1.out
+time DeFT.exec < input >& $my_directory/$1.out
cp new_restart $my_directory/$1.rst
cp espf $my_directory/$1.espf