1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/cad/feappv/files/patch-makefile.in
Thierry Thomas be07d2f546 Add feappv 2.0, finite Element Analysis Program "personal version".
This is a FEA program used in a classic FEM book. A complete (commercial)
version is available here:

	<http://www.ce.berkeley.edu/~rlt/feap/>

The "personal version" is very limited, but it keeps the same format as
the complete (commercial) version and cad/netgen can produce files for it.

PR:		ports/95210
Submitted by:	Pedro F. Giffuni <giffunip (at) asme.org>
2006-04-03 19:57:24 +00:00

39 lines
776 B
Plaintext

--- makefile.in.orig Thu Apr 7 10:34:22 2005
+++ makefile.in Sat Apr 1 16:26:47 2006
@@ -1,11 +1,11 @@
# Which compilers to use
-FF = g77
-CC = gcc
+FF ?= %%FC%%
+CC ?= %%CC%%
# What optimization level to use
-FFOPTFLAG = -O2
-CCOPTFLAG = -O2
+FFOPTFLAG += %%FFLAGS%%
+CCOPTFLAG += %%CFLAGS%% -I/usr/X11R6/include
# Source Types
FSOURCE =
@@ -17,16 +17,15 @@
# What options to be used by the compiler
FOPTIONS =
-COPTIONS =
-
+COPTIONS =
# What options to be used by the loader
LDOPTIONS = -L/usr/X11R6/lib -lX11 -lm
# Location of feap include files
-FINCLUDE = /home/rlt/Feappv/ver20/include
+FINCLUDE = %%WRKSRC%%/include
# What archiving to use
AR = ar rv
# Archive name
-ARFEAP = /home/rlt/Feappv/ver20/Feappv.a
+ARFEAP = %%WRKSRC%%/Feappv.a