diff options
author | tg <tg@FreeBSD.org> | 1997-01-15 15:19:43 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1997-01-15 15:19:43 +0800 |
commit | 9fbd0f37320558591001f494eadb3bf93ede1a6f (patch) | |
tree | 86cca504f1b10b56fb693a9ea14cc94ec2607ade /science/felt | |
parent | 7084d4e524cadca3f7d63c09bbf1df78580df547 (diff) | |
download | freebsd-ports-gnome-9fbd0f37320558591001f494eadb3bf93ede1a6f.tar.gz freebsd-ports-gnome-9fbd0f37320558591001f494eadb3bf93ede1a6f.tar.zst freebsd-ports-gnome-9fbd0f37320558591001f494eadb3bf93ede1a6f.zip |
Import of FElt, a system for Finite Element analysis.
Closes PR #2237.
Submitted by: Pedro Giffuni <pgiffuni@FPS.biblos.unal.edu.co>
Diffstat (limited to 'science/felt')
-rw-r--r-- | science/felt/Makefile | 29 | ||||
-rw-r--r-- | science/felt/distinfo | 1 | ||||
-rw-r--r-- | science/felt/files/patch-aa | 14 | ||||
-rw-r--r-- | science/felt/files/patch-ac | 28 | ||||
-rw-r--r-- | science/felt/files/patch-ad | 15 | ||||
-rw-r--r-- | science/felt/pkg-comment | 1 | ||||
-rw-r--r-- | science/felt/pkg-descr | 7 | ||||
-rw-r--r-- | science/felt/pkg-plist | 22 |
8 files changed, 117 insertions, 0 deletions
diff --git a/science/felt/Makefile b/science/felt/Makefile new file mode 100644 index 000000000000..c359c2b25d3d --- /dev/null +++ b/science/felt/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: FElt +# Version required: 3.01 +# Date created: 19 October 1996 +# Whom: +# +# $Id$ +# + +DISTNAME= felt-3.01 +CATEGORIES= cad +MASTER_SITES= http://www-cse.ucsd.edu/users/atkinson/FElt/Binaries/ \ + ftp://lucy.ifi.unibas.ch/unix/general/ +EXTRACT_SUFX= .src.tar.gz + +MAINTAINER= pgiffuni@FPS.biblos.unal.edu.co + +WRKSRC= ${WRKDIR}/FElt-3.00 +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix="${PREFIX}" +MAN1= burlap.1 corduroy.1 felt.1 patchwork.1 velvet.1 yardstick.1 +MAN3= Drawing.3 +MAN4= corduroy.4 felt.4 + +#DOCS= ftp://cs.ucsd.edu/pub/felt/felt-3.00.ps.gz + +post-patch: + rm -f $(WRKSRC)/lib/Geompack/*.c + +.include <bsd.port.mk> diff --git a/science/felt/distinfo b/science/felt/distinfo new file mode 100644 index 000000000000..54de91ca848c --- /dev/null +++ b/science/felt/distinfo @@ -0,0 +1 @@ +MD5 (felt-3.01.src.tar.gz) = 265c8e84eefc96d0ca5e1a0260b92dab diff --git a/science/felt/files/patch-aa b/science/felt/files/patch-aa new file mode 100644 index 000000000000..e39c5f74a9e9 --- /dev/null +++ b/science/felt/files/patch-aa @@ -0,0 +1,14 @@ +--- configure.orig Fri Aug 4 23:57:09 1995 ++++ configure Sat Jan 11 12:14:28 1997 +@@ -221,8 +221,10 @@ + CONTRIBDIR = $CONTRIBDIR + CONTRIBFLAGS = $CONTRIBFLAGS + CPP = $CPP ++FC = f77 ++FFLAGS = $CCOPTS -Dfreebsd + DESTBIN = $DEST/bin +-DESTLIB = $DEST/lib/felt ++DESTLIB = $DEST/share/felt + DESTMAN = $DEST/man + INSTALL = sh \$(TOPDIR)/etc/install.sh -c + LDOPTS = -s diff --git a/science/felt/files/patch-ac b/science/felt/files/patch-ac new file mode 100644 index 000000000000..0e835d66f35c --- /dev/null +++ b/science/felt/files/patch-ac @@ -0,0 +1,28 @@ +*** ../FElt-3.00/src/Velvet/velvet.c Wed May 31 19:03:06 1995 +--- ./src/Velvet/velvet.c Wed Dec 18 20:50:30 1996 +*************** +*** 73,78 **** +--- 73,81 ---- + # include "popup.xbm" + # include "FElt.icon" + ++ #ifdef __FreeBSD__ ++ #include <floatingpoint.h> ++ #endif + + static char *defaults [ ] = { + # include "velvet.ad.h" +*************** +*** 595,600 **** +--- 598,608 ---- + static String output_buttons [ ] = {"dismiss", "save"}; + static String proceed_buttons [ ] = {"okay", "cancel"}; + static String qsave_buttons [ ] = {"yes", "no", "cancel"}; ++ ++ #ifdef __FreeBSD__ ++ fpsetmask (0); ++ #endif ++ + + + /* Parse the initial command line options */ diff --git a/science/felt/files/patch-ad b/science/felt/files/patch-ad new file mode 100644 index 000000000000..22525e8ca2d8 --- /dev/null +++ b/science/felt/files/patch-ad @@ -0,0 +1,15 @@ +--- include/allocate.h.orig Fri Jan 10 20:11:30 1997 ++++ include/allocate.h Fri Jan 10 20:10:54 1997 +@@ -25,7 +25,12 @@ + + # ifndef _ALLOCATE_H + # define _ALLOCATE_H ++ ++#ifdef __STDC__ ++#include <stdlib.h> ++#else + # include "malloc.h" ++#endif + + # define AllocNew(type) \ + (type *) malloc (sizeof (type)) diff --git a/science/felt/pkg-comment b/science/felt/pkg-comment new file mode 100644 index 000000000000..beda7b174c25 --- /dev/null +++ b/science/felt/pkg-comment @@ -0,0 +1 @@ +A system for Finite Element Analysis diff --git a/science/felt/pkg-descr b/science/felt/pkg-descr new file mode 100644 index 000000000000..e7302025ee68 --- /dev/null +++ b/science/felt/pkg-descr @@ -0,0 +1,7 @@ +FElt is a free system for introductory level finite element analysis in the +mechanical/structural/civil fields. In a command line environment, FElt +uses an intuitive, straightforward input syntax to describe problems. It +also includes a graphical user interface for workstations that allows the +user to set-up, solve and post-process the problem in a single CAD-like +environment. + diff --git a/science/felt/pkg-plist b/science/felt/pkg-plist new file mode 100644 index 000000000000..6f6afe89a6ce --- /dev/null +++ b/science/felt/pkg-plist @@ -0,0 +1,22 @@ +bin/burlap +bin/corduroy +bin/felt +bin/patchwork +bin/velvet +bin/yardstick +man/man1/burlap.1.gz +man/man1/corduroy.1.gz +man/man1/felt.1.gz +man/man1/patchwork.1.gz +man/man1/velvet.1.gz +man/man1/yardstick.1.gz +man/man3/Drawing.3.gz +man/man4/corduroy.4.gz +man/man4/felt.4.gz +share/felt/beam.defaults +share/felt/material.defaults +share/felt/truss.defaults +share/felt/german.trn +share/felt/german_new.trn +share/felt/spanish.trn + |