# -*- 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 2017.2.0
categories-append math science
maintainers {sean @seanfarley} openmaintainer
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 529e8b202dfe892b35e9b63a4ce276e5c97063ee \
sha256 f0a742e1195cf59eb10f1cce5680484bdf735777caac9ab460849659f11aa067 \
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}-instant \
port:py${python.version}-dijitso \
build.env-append CXXFLAGS="${configure.cxxflags}"
destroot.env-append CXXFLAGS="${configure.cxxflags}"
if {![file exists ${python.pkgd}/boost/mpi.so]} {
return -code error "${name} needs boost installed with a mpi variant "