diff options
author | taoka <taoka@FreeBSD.org> | 1999-05-07 05:12:20 +0000 |
---|---|---|
committer | taoka <taoka@FreeBSD.org> | 1999-05-07 05:12:20 +0000 |
commit | 5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd (patch) | |
tree | fc0e6760cb7b37eef343855bd68b89cefb7f2799 /biology/mopac/files | |
parent | 70caf8e2282e160a37f9680030fe004bb2850e2b (diff) | |
download | FreeBSD-ports-5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd.zip FreeBSD-ports-5f5b2968a8581e6bfb8f3677c815ff6e9534b3fd.tar.gz |
Be able to use ${PREFIX}
Submitted by: maintainer
Diffstat (limited to 'biology/mopac/files')
-rw-r--r-- | biology/mopac/files/patch-ad | 31 | ||||
-rw-r--r-- | biology/mopac/files/patch-ae | 25 | ||||
-rw-r--r-- | biology/mopac/files/rmopac | 3 |
3 files changed, 49 insertions, 10 deletions
diff --git a/biology/mopac/files/patch-ad b/biology/mopac/files/patch-ad index 2f95df0..8233530 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 0000000..1cc332b --- /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 597dc35..995fe21 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 |