Created attachment 174378 [details] svn patch This package includes the TFEL libraries and the MFront utility. The name of the project is tfel but people will probably know/care about mfront only so I had to name it like this. The package is useful in combination with later versions of Code Aster. The configure stuff seems to only recognize i386 and x86_64, I am not usre if it would work on other platforms but that would require adding some hints to the configure.ac. Passes pkg-plist and stage-qa.
Note: the recent tarballs of Code_Aster, e.g. aster-full-src-12.6.0-4.noarch.tar.gz, include a tarball of MFront: mfront-2.0.3-1.tar.gz Don't you think it would be safer to use this one, to be sure that it will work with aster?
(In reply to Thierry Thomas from comment #1) There is probably no difference. I guess we could use the sourceforge one until the new Code Aster lands? The most important from this port is the extra documentation in the tfel site http://tfel.sourceforge.net/, so it may be useful to keep some reference.
Created attachment 176893 [details] New proposed version Attached is a new proposed patch. Code_Aster needs libAsterInterface, it's why I added --enable-aster to CONFIGURE_ARGS. Since I was here, I noticed that it tries to use gnuplot when it is installed, so I added it as a dependency. But it you think that this brings too much dependencies, this could be make as an option. Also added a TEST_TARGET to provide do-test, but ATM it is almost unuseful.
(In reply to Thierry Thomas from comment #3) For Code Ater and friends we should be prepared to pull in a lot of stuff bu default. It still seems sane to have an option for gnuplot. but setting it ON by default. (Approved BTW)
Committed, thanks!
A commit references this bug: Author: thierry Date: Fri Nov 11 16:49:21 UTC 2016 New revision: 425893 URL: https://svnweb.freebsd.org/changeset/ports/425893 Log: `MFront` is a code generator which translates a set of closely related domain specific languages into plain C++ on top of the `TFEL` library. Those languages covers three kind of material knowledge: - material properties (for instance the Young modulus, the thermal conductivity, etc.) - mechanical behaviours. Numerical performances of generated mechanical behaviours was given a particular attention. Various benchmarks shows that `MFront` implementations are competitive with native implementations available in the `Cast3M`, `Code-Aster` and `Cyrano3` solvers. - simple point-wise models, such as material swelling used in fuel performance codes. `MFront` comes with an handy easy-to-use tool called `MTest` that can test the local behaviour of a material, by imposing independent constraints on each component of the strain or the stress. This tool has been much faster (from ten to several hundred times depending on the test case) than using a full-fledged finite element solver. WWW: http://tfel.sourceforge.net/ PR: 212375 Submitted by: Pedro F. Giffuni Changes: head/science/Makefile head/science/tfel/ head/science/tfel/Makefile head/science/tfel/distinfo head/science/tfel/files/ head/science/tfel/files/patch-configure.ac head/science/tfel/pkg-descr head/science/tfel/pkg-plist