aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-01-11 19:38:43 +0800
committerasami <asami@FreeBSD.org>1997-01-11 19:38:43 +0800
commit038227dd2a95406a3bcb7bc84336c1f2e7d09330 (patch)
tree66254ae52d70185aac968c208bea3daa44bb4c01 /math
parentd368f1f0878e912f8cede6765c4392754466a1b8 (diff)
downloadfreebsd-ports-gnome-038227dd2a95406a3bcb7bc84336c1f2e7d09330.tar.gz
freebsd-ports-gnome-038227dd2a95406a3bcb7bc84336c1f2e7d09330.tar.zst
freebsd-ports-gnome-038227dd2a95406a3bcb7bc84336c1f2e7d09330.zip
2-D FEM solving package. Closes PR ports/2290.
Submitted by: pgiffuni@FPS.biblos.unal.edu.co
Diffstat (limited to 'math')
-rw-r--r--math/freefem/Makefile33
-rw-r--r--math/freefem/distinfo1
-rw-r--r--math/freefem/files/patch-aa42
-rw-r--r--math/freefem/pkg-comment1
-rw-r--r--math/freefem/pkg-descr7
-rw-r--r--math/freefem/pkg-plist22
6 files changed, 106 insertions, 0 deletions
diff --git a/math/freefem/Makefile b/math/freefem/Makefile
new file mode 100644
index 000000000000..b5ce309ad716
--- /dev/null
+++ b/math/freefem/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: freefem
+# Version required: 3.0
+# Date created: 20 December 1996
+# Whom: pgiffuni@FPS.biblos.unal.edu.co
+#
+# $Id$
+#
+
+DISTNAME= freefem
+PKGNAME= freefem-3.0
+CATEGORIES= math cad
+MASTER_SITES= ftp://ftp.ann.jussieu.fr/pub/soft/
+EXTRACT_SUFX= .tgz
+
+MAINTAINIR= pgiffuni@FPS.biblos.unal.edu.co
+
+USE_X11= yes
+USE_GMAKE= yes
+MAKEFILE= makefile.x
+ALL_TARGET=
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/freefem ${PREFIX}/bin
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/freefem/exampl.pde
+ ${CP} ${WRKSRC}/freefem.hlp ${PREFIX}/share/doc/freefem
+ ${GZIP_CMD} ${PREFIX}/share/doc/freefem/freefem.hlp
+ ${CP} ${WRKSRC}/exampl.pde/* ${PREFIX}/share/doc/freefem/exampl.pde
+.endif
+
+.include <bsd.port.mk>
diff --git a/math/freefem/distinfo b/math/freefem/distinfo
new file mode 100644
index 000000000000..3af8587a002a
--- /dev/null
+++ b/math/freefem/distinfo
@@ -0,0 +1 @@
+MD5 (freefem.tgz) = 2f10004c7374435286dbe1ce4741560d
diff --git a/math/freefem/files/patch-aa b/math/freefem/files/patch-aa
new file mode 100644
index 000000000000..1058b9a9757a
--- /dev/null
+++ b/math/freefem/files/patch-aa
@@ -0,0 +1,42 @@
+*** makefile.x.orig Wed Jan 24 08:37:09 1996
+--- makefile.x Tue Dec 24 14:46:59 1996
+***************
+*** 26,35 ****
+ #
+ # the following preprocessing options are available
+ # ADAPT : to enable mesh adaptation
+! export CXXFLAGS = -g -DADAPT
+ #export CXXFLAGS = -g
+! export CXXINC = -I./ -Iadapt/ -I/usr/local/X11R5/include
+! export CXXLIBS = -Ladapt/ -ladapt -L/usr/local/X11R5/lib -lX11 -lm
+ #export CXXLIBS = -L/usr/local/X11R5/lib -lX11 -lm
+
+
+--- 26,35 ----
+ #
+ # the following preprocessing options are available
+ # ADAPT : to enable mesh adaptation
+! export CXXFLAGS = -O $(CFLAGS) -DADAPT
+ #export CXXFLAGS = -g
+! export CXXINC = -I./ -Iadapt/ -I$(X11BASE)/include
+! export CXXLIBS = -Ladapt/ -ladapt -L$(X11BASE)/lib -lX11 -lm
+ #export CXXLIBS = -L/usr/local/X11R5/lib -lX11 -lm
+
+
+***************
+*** 48,54 ****
+ $(CXX) $(CXXFLAGS) $(CXXINC) -c $<
+
+ libadapt:
+! cd adapt;make -f makefile.x;cd ..
+
+ purify: freefem
+ purify $(CXX) -o freefem.pure $(OBJS) $(CXXLIBS)
+--- 48,54 ----
+ $(CXX) $(CXXFLAGS) $(CXXINC) -c $<
+
+ libadapt:
+! cd adapt;$(MAKE) -f makefile.x;cd ..
+
+ purify: freefem
+ purify $(CXX) -o freefem.pure $(OBJS) $(CXXLIBS)
diff --git a/math/freefem/pkg-comment b/math/freefem/pkg-comment
new file mode 100644
index 000000000000..18b935ac267e
--- /dev/null
+++ b/math/freefem/pkg-comment
@@ -0,0 +1 @@
+2D Finite Element Method resolver for X
diff --git a/math/freefem/pkg-descr b/math/freefem/pkg-descr
new file mode 100644
index 000000000000..a79172b3e7fe
--- /dev/null
+++ b/math/freefem/pkg-descr
@@ -0,0 +1,7 @@
+Gfem is a scientific product to help you solve Partial Differential
+Equations in 2 dimensions; it assumes a basic knowledge and understanding
+of the Finite Element Method and of the Operating System used. NUMERICA
+is not responsible for any errors or damage due to wrong results.
+
+ * pironneau@ann.jussieu.fr
+ * prudhomm@ann.jussieu.fr
diff --git a/math/freefem/pkg-plist b/math/freefem/pkg-plist
new file mode 100644
index 000000000000..67a53c2fe6f9
--- /dev/null
+++ b/math/freefem/pkg-plist
@@ -0,0 +1,22 @@
+bin/freefem
+share/doc/freefem/freefem.hlp.gz
+share/doc/freefem/exampl.pde/brachet.pde
+share/doc/freefem/exampl.pde/condens.pde
+share/doc/freefem/exampl.pde/convectn.pde
+share/doc/freefem/exampl.pde/convhill.pde
+share/doc/freefem/exampl.pde/crack.pde
+share/doc/freefem/exampl.pde/crack.pde.sav
+share/doc/freefem/exampl.pde/heat.pde
+share/doc/freefem/exampl.pde/holbeam.pde
+share/doc/freefem/exampl.pde/lame.pde
+share/doc/freefem/exampl.pde/multib.pde
+share/doc/freefem/exampl.pde/muonde.pde
+share/doc/freefem/exampl.pde/nacabig.pde
+share/doc/freefem/exampl.pde/nsstep.pde
+share/doc/freefem/exampl.pde/shock.pde
+share/doc/freefem/exampl.pde/stokespo.pde
+share/doc/freefem/exampl.pde/validate.pde
+share/doc/freefem/exampl.pde/validcplx.pde
+share/doc/freefem/exampl.pde/validsys.pde
+@dirrm share/doc/freefem/exampl.pde
+@dirrm share/doc/freefem