# -*- 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
PortGroup active_variants 1.1
github.setup NGSolve netgen 6.2.1810 v
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description NETGEN is an automatic 3d tetrahedral mesh generator
long_description ${description}. It accepts input from constructive \
solid geometry (CSG) or boundary representation (BRep) \
from STL file format. The connection to a geometry kernel \
allows the handling of IGES and STEP files. NETGEN contains \
modules for mesh optimization and hierarchical mesh \
homepage https://ngsolve.org/
checksums rmd160 f1d335ca6c3dd54db7336401ed6c4903e9f90b04 \
sha256 2edb380cb0f8e829fdf8c6aa18249f095c03dd5fbffbbf3b8d2420a16fb6ec00 \
# do not attempt to download & install tkdnd or Tcl/Tk
patchfiles-append patch-no-external.diff
# do not install another version of pybind11
patchfiles-append patch-no-pybind.diff
# link Tcl/Tk libraries like other systems (unnecessary?)
patchfiles-append patch-link-ng.diff
# behave like other systems except use of RPATH
patchfiles-append patch-CMakeLists.txt.diff
# prevent console window from appearing
# see https://wiki.tcl-lang.org/page/console+hide
patchfiles-append patch-no-console.diff
set python_version [string map {. ""} ${python_branch}]
port:python${python_version} \
path:lib/libavcodec.dylib:ffmpeg \
port:py${python_version}-tkinter