1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

2-D FEM solving package. Closes PR ports/2290.

Submitted by:	pgiffuni@FPS.biblos.unal.edu.co
This commit is contained in:
Satoshi Asami 1997-01-11 11:38:43 +00:00
parent aa7eee611c
commit 0949099c68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5307
6 changed files with 106 additions and 0 deletions

33
math/freefem/Makefile Normal file
View File

@ -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>

1
math/freefem/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (freefem.tgz) = 2f10004c7374435286dbe1ce4741560d

View File

@ -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)

1
math/freefem/pkg-comment Normal file
View File

@ -0,0 +1 @@
2D Finite Element Method resolver for X

7
math/freefem/pkg-descr Normal file
View File

@ -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

22
math/freefem/pkg-plist Normal file
View File

@ -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