# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
bitbucket.setup fenics-project ffc 2018.1.0
categories-append math science
description FEniCS Form Compiler
long_description FFC works as a compiler for multilinear forms by generating \
code (C or C++) for the evaluation of a multilinear form given \
in mathematical notation. This new approach to form evaluation \
makes it possible to combine generality with efficiency, the \
form can be given in mathematical notation and the generated \
code is as efficient as hand-optimized code.
checksums rmd160 e543d339823c0c15ef086cce472ce9c2168a38f4 \
sha256 51b21e3557d4c1460b2d52ff2d5646dd3d15a8b458b51706d5ff58adc9485971 \
python.link_binaries_suffix
configure.cxxflags-append -std=c++11
if {${subport} ne ${name}} {
depends_lib port:py${python.version}-fiat \
port:py${python.version}-ufl \
port:py${python.version}-dijitso \
if {[vercmp [macports_version] 2.5.99] >= 0} {
build.env-append CXXFLAGS=${configure.cxxflags}
build.env-append CXXFLAGS="${configure.cxxflags}"
if {[vercmp [macports_version] 2.5.99] >= 0} {
destroot.env-append CXXFLAGS=${configure.cxxflags}
destroot.env-append CXXFLAGS="${configure.cxxflags}"
if {![file exists ${python.pkgd}/boost/mpi.so]} {
return -code error "${subport} needs boost installed with an mpi variant"