aboutsummaryrefslogtreecommitdiff
path: root/graphics/xd3d/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-09-30 14:47:16 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-09-30 14:47:16 +0000
commit7bed26d486beae936b94a7c3b27f0b791e52cd4b (patch)
treee4a5aba350352808ec8587ec2998d11411482aa7 /graphics/xd3d/files
parent534da3531bbde0b38604652311b8b1d20cbe9a59 (diff)
downloadports-7bed26d486beae936b94a7c3b27f0b791e52cd4b.tar.gz
ports-7bed26d486beae936b94a7c3b27f0b791e52cd4b.zip
Add xd3d 8.0.2, a simple scientific visualization tool.
It can plot 2d and 3d meshes, with shadowing, contour plots, vector fields, iso-contour (3d), as well as 3d surfaces z=f(x,y) defined by an algebraic expression or a cloud of points. It generates high quality vector PostScript files for scientific publications and still or animated bitmap images. It includes the graph plotter xgraphic. PR: 56986 Submitted by: thierry@pompo.net
Notes
Notes: svn path=/head/; revision=89903
Diffstat (limited to 'graphics/xd3d/files')
-rw-r--r--graphics/xd3d/files/RULES.FreeBSD81
1 files changed, 81 insertions, 0 deletions
diff --git a/graphics/xd3d/files/RULES.FreeBSD b/graphics/xd3d/files/RULES.FreeBSD
new file mode 100644
index 000000000000..c44f373dca60
--- /dev/null
+++ b/graphics/xd3d/files/RULES.FreeBSD
@@ -0,0 +1,81 @@
+#--------------------------------------------------------
+# Configuration file for the Makefiles of xd3d |
+# François Jouve 2003 (Francois.Jouve@Polytechnique.fr) |
+#--------------------------------------------------------
+
+#
+# Modifiable parameters
+#
+
+#
+# Root directory of the distribution
+#
+#XD3D_DIR = $(HOME)/xd3d-8.0.2
+XD3D_DIR = %%WRKSRC%%
+
+#
+# Install directory
+#
+#INSTALL_DIR = /usr/local/bin
+INSTALL_DIR = %%PREFIX%%/bin
+
+#
+# Location of the X11 lib (libX11.a)
+#
+#LIBX11 = /usr/X11R6/lib
+LIBX11 = %%X11BASE%%/lib
+
+#
+# Language parameter
+#
+#LANGUAGE = FRANCAIS
+#LANGUAGE = ENGLISH
+LANGUAGE = %%LANG%%
+
+#
+# Max memory for xd3d (MBytes)
+#
+#MEMORY_XD3D = 64
+MEMORY_XD3D = %%MEMORY_XD3D%%
+
+#
+# Fortran compiler
+#
+COMPILF = %%F77%%
+
+#
+# C compiler
+#
+COMPILC = %%CC%%
+RANLIB = ranlib
+AR = ar r
+STRIP = strip $@
+
+#
+# Options for the Fortran compiler
+#
+OPTF = %%FFLAGS%% -malign-double
+#
+# Options for the C compiler
+#
+OPTC = %%CFLAGS%% -malign-double
+
+#-----------------------------------------------
+# You should not need to change anything below !
+#-----------------------------------------------
+
+SRCDIR = $(XD3D_DIR)/src
+BINDIR = $(XD3D_DIR)/bin
+LIBDIR = $(XD3D_DIR)/lib
+INCF = -I$(XD3D_DIR)/src/include
+INCC = -I$(LIBX11)/../include
+
+LINK = $(COMPILF) $(OPTF) -o
+LINKOPT = -lc -lm
+LINKOPTX = -L$(LIBX11) -lX11 -lXpm -lc -lm
+LIBRAIRIE = $(LIBDIR)/question_lib.a
+MYXLIB = $(LIBDIR)/my_Xlib.a
+INTERP = $(LIBDIR)/interp.a
+
+.f.o: ; $(COMPILF) $(INCF) $(OPTF) -c $*.f
+.c.o: ; $(COMPILC) $(INCC) $(OPTC) -D$(LANGUAGE) -c $*.c