freebsd-ports/biology/psi88/files/patch-aa
Chris Piazza bea1cffae3 Make the psi88 port install into PREFIX instead of a hardcoded
/usr/local.

PR:	12215
Submitted by:	Nick Hibma <nick.hibma@jrc.it>
1999-06-19 10:23:07 +00:00

126 lines
3.5 KiB
Text

*** src/Makefile.orig Fri May 24 21:04:15 1991
--- src/Makefile Mon Jun 14 23:41:50 1999
***************
*** 27,37 ****
# level and when it is working, increase the optimization level. So far
# optimization has never caused problems with this program.
#
! # SGI 4D series flags
#
f77 = f77
! FFLAGS = -w0 -O4 -G 64
! LFLAGS = -lfastm -lfpe -s
#
# SUN Sparc series flags version 1.3 or later compiler
#
--- 27,43 ----
# level and when it is working, increase the optimization level. So far
# optimization has never caused problems with this program.
#
! # FreeBSD
#
f77 = f77
! FFLAGS = -O3 -Wall
! LFLAGS =
! #
! # SGI 4D series flags
! #
! #f77 = f77
! #FFLAGS = -w0 -O4 -G 64
! #LFLAGS = -lfastm -lfpe -s
#
# SUN Sparc series flags version 1.3 or later compiler
#
***************
*** 60,71 ****
# Place your G88/G90 util library definition here if you wish to
# compile chk2psi
#
! G90LIB = /usr/people/frisch/g90/libg90.a
#
# define the directory where the executables will reside
# usually /usr/local/bin or ~/bin to put it in your own directory
#
! BIN = /usr/local/bin
#
#**** Add PSI2 to this and the install lists if you have a user defined
# Plotting library to plot to the screen, also remove any which you
--- 66,77 ----
# Place your G88/G90 util library definition here if you wish to
# compile chk2psi
#
! #G90LIB = /usr/people/frisch/g90/libg90.a
#
# define the directory where the executables will reside
# usually /usr/local/bin or ~/bin to put it in your own directory
#
! BIN = $(PREFIX)/bin
#
#**** Add PSI2 to this and the install lists if you have a user defined
# Plotting library to plot to the screen, also remove any which you
***************
*** 84,96 ****
#######################################################################
#
! all: PSI1 PSICON PSI2CT PSI2HP PSI2PS PREPLOT chk2psi $(EXTRAS)
#
# Install in the executable directory - may need to be superuser
# depending on where you decide to put it (/usr/local/bin for instance)
#
! install: PSI1 PSICON PSI2CT PSI2HP PSI2PS PREPLOT chk2psi $(EXTRAS)
mv PSI1 $(BIN)
chmod +rx $(BIN)/PSI1
mv PSICON $(BIN)
--- 90,104 ----
#######################################################################
#
! # all: PSI1 PSICON PSI2CT PSI2HP PSI2PS PREPLOT chk2psi $(EXTRAS)
! all: PSI1 PSICON PSI2CT PSI2HP PSI2PS PREPLOT $(EXTRAS)
#
# Install in the executable directory - may need to be superuser
# depending on where you decide to put it (/usr/local/bin for instance)
#
! #install: PSI1 PSICON PSI2CT PSI2HP PSI2PS PREPLOT chk2psi $(EXTRAS)
! install: PSI1 PSICON PSI2CT PSI2HP PSI2PS PREPLOT $(EXTRAS)
mv PSI1 $(BIN)
chmod +rx $(BIN)/PSI1
mv PSICON $(BIN)
***************
*** 99,106 ****
chmod +rx $(BIN)/PREPLOT
mv PSI2* $(BIN)
chmod +rx $(BIN)/PSI2*
! mv chk2psi $(BIN)
! chmod +rx $(BIN)/chk2psi
#
# This is the Density matrix generation program (PSI1/88)
--- 107,115 ----
chmod +rx $(BIN)/PREPLOT
mv PSI2* $(BIN)
chmod +rx $(BIN)/PSI2*
!
! # mv chk2psi $(BIN)
! # chmod +rx $(BIN)/chk2psi
#
# This is the Density matrix generation program (PSI1/88)
***************
*** 164,169 ****
# Clean up when done
#
clean :
! touch a.out foo.o core foo.u foo.f17 foo.22
rm -f a.out *.o core *.u *.f17 *.f2*
--- 173,178 ----
# Clean up when done
#
clean :
! touch a.out foo.o core foo.u foo.f17 foo.22
rm -f a.out *.o core *.u *.f17 *.f2*