aboutsummaryrefslogtreecommitdiffstats
path: root/biology/mopac/files
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-05-07 13:12:20 +0800
committertaoka <taoka@FreeBSD.org>1999-05-07 13:12:20 +0800
commit5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd (patch)
treefc0e6760cb7b37eef343855bd68b89cefb7f2799 /biology/mopac/files
parent70caf8e2282e160a37f9680030fe004bb2850e2b (diff)
downloadfreebsd-ports-gnome-5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd.tar.gz
freebsd-ports-gnome-5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd.tar.zst
freebsd-ports-gnome-5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd.zip
Be able to use ${PREFIX}
Submitted by: maintainer
Diffstat (limited to 'biology/mopac/files')
-rw-r--r--biology/mopac/files/patch-ad31
-rw-r--r--biology/mopac/files/patch-ae25
-rw-r--r--biology/mopac/files/rmopac3
3 files changed, 49 insertions, 10 deletions
diff --git a/biology/mopac/files/patch-ad b/biology/mopac/files/patch-ad
index 2f95df01f162..82335302788e 100644
--- a/biology/mopac/files/patch-ad
+++ b/biology/mopac/files/patch-ad
@@ -1,7 +1,17 @@
-*** Makefile.2 Wed Apr 23 22:14:31 1997
---- Makefile Wed Apr 23 22:16:32 1997
+*** Makefile.orig Sun Apr 18 22:38:02 1999
+--- Makefile Sun Apr 18 22:49:30 1999
***************
-*** 15,21 ****
+*** 8,13 ****
+--- 8,14 ----
+ # make clean Clean up disk to minimum config
+ #
+ FFLAGS = -O2 -w
++ LFLAGS = -lf2c
+ HDRS = SIZES
+ SRCS := $(shell ls *.f)
+ CSRCS := $(shell ls *.c)
+***************
+*** 15,28 ****
SIZEDEPSRC := $(shell grep -l -i ' INCLUDE ' *.f; true)
SIZEDEPEND = $(SIZEDEPSRC:.f=.o)
MOPAC = MOPAC7
@@ -9,7 +19,14 @@
BINDIR = /usr/local/bin
OWNER = root.bin
---- 15,21 ----
+ $(MOPAC): SIZES $(OBJS)
+ @echo -n "Loading $@ ... "
+! f77 -O $(OBJS) -o $@
+ @echo "done"
+
+ clean:
+ $(RM) $(OBJS) *.trace core
+--- 16,31 ----
SIZEDEPSRC := $(shell grep -l -i ' INCLUDE ' *.f; true)
SIZEDEPEND = $(SIZEDEPSRC:.f=.o)
MOPAC = MOPAC7
@@ -17,11 +34,9 @@
BINDIR = /usr/local/bin
OWNER = root.bin
-***************
-*** 23,28 ****
---- 23,30 ----
+ $(MOPAC): SIZES $(OBJS)
@echo -n "Loading $@ ... "
- f77 -O $(OBJS) -o $@
+! $(FC) -O $(OBJS) $(LFLAGS) -o $@
@echo "done"
+
+ all: $(MOPAC)
diff --git a/biology/mopac/files/patch-ae b/biology/mopac/files/patch-ae
new file mode 100644
index 000000000000..1cc332bf0869
--- /dev/null
+++ b/biology/mopac/files/patch-ae
@@ -0,0 +1,25 @@
+*** sympro.f2 Sun Apr 18 21:32:48 1999
+--- sympro.f Sun Apr 18 21:42:30 1999
+***************
+*** 170,179 ****
+ 50 CONTINUE
+ IF (ALLINT) THEN
+ WRITE(6,210)ISYMT(1+NENT),(ITEMP(I),I=1,NVALUE-1)
+! 210 FORMAT(X,A10,I7,8I7)
+ ELSE
+ WRITE(6,220)ISYMT(1+NENT),ITEMP(1),(TEMP(I),I=2,NVALUE-1)
+! 220 FORMAT(X,A10,I7,8F7.3)
+ ENDIF
+ SIGMA = 1
+ IF (ITEMP(1) .LE. -3) SIGMA = -1
+--- 170,179 ----
+ 50 CONTINUE
+ IF (ALLINT) THEN
+ WRITE(6,210)ISYMT(1+NENT),(ITEMP(I),I=1,NVALUE-1)
+! 210 FORMAT(1X,A10,I7,8I7)
+ ELSE
+ WRITE(6,220)ISYMT(1+NENT),ITEMP(1),(TEMP(I),I=2,NVALUE-1)
+! 220 FORMAT(1X,A10,I7,8F7.3)
+ ENDIF
+ SIGMA = 1
+ IF (ITEMP(1) .LE. -3) SIGMA = -1
diff --git a/biology/mopac/files/rmopac b/biology/mopac/files/rmopac
index 597dc35c552a..995fe210d45f 100644
--- a/biology/mopac/files/rmopac
+++ b/biology/mopac/files/rmopac
@@ -1,7 +1,6 @@
#!/bin/csh -f
#
set job = $1
-set mopacdir = /usr/local/bin
set smallmopac = MOPAC7
#
# Check that prior copies of files do not exist
@@ -26,7 +25,7 @@ if -e core rm core
if -e fort.2 rm fort.2
if -e fort.16 rm fort.16
#
-time $mopacdir/$smallmopac >> $job.log
+time $smallmopac >> $job.log
#
echo job $job is finished
head -3 $job.dat