summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/dune-typetree/Makefile37
-rw-r--r--math/dune-typetree/distinfo3
-rw-r--r--math/dune-typetree/files/patch-CMakeLists.txt12
-rw-r--r--math/dune-typetree/pkg-descr10
-rw-r--r--math/dune-typetree/pkg-plist31
6 files changed, 94 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index f482fff58aa0..ec0b2806fa78 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -219,6 +219,7 @@
SUBDIR += dune-grid
SUBDIR += dune-istl
SUBDIR += dune-localfunctions
+ SUBDIR += dune-typetree
SUBDIR += dune-uggrid
SUBDIR += e
SUBDIR += ecos
diff --git a/math/dune-typetree/Makefile b/math/dune-typetree/Makefile
new file mode 100644
index 000000000000..6acffcacc373
--- /dev/null
+++ b/math/dune-typetree/Makefile
@@ -0,0 +1,37 @@
+# $FreeBSD$
+
+PORTNAME= dune-typetree
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.7.0rc2
+CATEGORIES= math
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= DUNE framework: The TypeTree library
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS= dune-common>0:math/dune-common \
+ openmpi>0:net/openmpi \
+ vc>0:devel/vc
+
+USES= cmake compiler:c++17-lang fortran pkgconfig
+USE_GITLAB= yes
+
+GL_ACCOUNT= core
+GL_SITE= https://gitlab.dune-project.org
+GL_ACCOUNT= staging
+GL_COMMIT= b6427163a5ef45996471edad672ecab584aa490c
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
+
+DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS
+DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
+ sphinx-build:textproc/py-sphinx
+
+PORTDOCS= *
+
+.include <bsd.port.mk>
diff --git a/math/dune-typetree/distinfo b/math/dune-typetree/distinfo
new file mode 100644
index 000000000000..915e4dfdfc16
--- /dev/null
+++ b/math/dune-typetree/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584226725
+SHA256 (staging-dune-typetree-b6427163a5ef45996471edad672ecab584aa490c_GL0.tar.gz) = d8804a4a9de5ccf48f8ccb0025a5efd427aaa8ac26b0cd0595e6f3111069d4c2
+SIZE (staging-dune-typetree-b6427163a5ef45996471edad672ecab584aa490c_GL0.tar.gz) = 63452
diff --git a/math/dune-typetree/files/patch-CMakeLists.txt b/math/dune-typetree/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2e11cca9774f
--- /dev/null
+++ b/math/dune-typetree/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2020-03-14 23:07:57 UTC
++++ CMakeLists.txt
+@@ -21,7 +21,9 @@ include(DuneMacros)
+ # start a dune project with information from dune.module
+ dune_project()
+
++if (FREEBSD_INSTALL_DOCS)
+ add_subdirectory(doc)
++endif()
+ add_subdirectory(dune)
+ add_subdirectory(test)
+
diff --git a/math/dune-typetree/pkg-descr b/math/dune-typetree/pkg-descr
new file mode 100644
index 000000000000..30b0d44b7c12
--- /dev/null
+++ b/math/dune-typetree/pkg-descr
@@ -0,0 +1,10 @@
+dune-typetree is a module of the DUNE Numerics framework for solving partial
+differential equations (PDEs) with grid-based methods.
+
+dune-typetree is a template library for constructing and operating on statically
+typed trees of objects. It is based around the idea of defining loosely coupled,
+componentized algorithms. Component lookup happens through tag dispatch, making
+it very easy to extend and / or modify existing algorithms as well as
+constructing new algorithms for existing types of tree nodes.
+
+WWW: https://www.dune-project.org/
diff --git a/math/dune-typetree/pkg-plist b/math/dune-typetree/pkg-plist
new file mode 100644
index 000000000000..ad9ca17c754c
--- /dev/null
+++ b/math/dune-typetree/pkg-plist
@@ -0,0 +1,31 @@
+include/dune/typetree/accumulate_static.hh
+include/dune/typetree/childextraction.hh
+include/dune/typetree/compositenode.hh
+include/dune/typetree/exceptions.hh
+include/dune/typetree/filteredcompositenode.hh
+include/dune/typetree/filters.hh
+include/dune/typetree/fixedcapacitystack.hh
+include/dune/typetree/generictransformationdescriptors.hh
+include/dune/typetree/leafnode.hh
+include/dune/typetree/nodeinterface.hh
+include/dune/typetree/nodetags.hh
+include/dune/typetree/pairtraversal.hh
+include/dune/typetree/powercompositenodetransformationtemplates.hh
+include/dune/typetree/powernode.hh
+include/dune/typetree/proxynode.hh
+include/dune/typetree/simpletransformationdescriptors.hh
+include/dune/typetree/transformation.hh
+include/dune/typetree/transformationutilities.hh
+include/dune/typetree/traversal.hh
+include/dune/typetree/traversalutilities.hh
+include/dune/typetree/treecontainer.hh
+include/dune/typetree/treepath.hh
+include/dune/typetree/typetraits.hh
+include/dune/typetree/typetree.hh
+include/dune/typetree/utility.hh
+include/dune/typetree/visitor.hh
+lib/cmake/dune-typetree/dune-typetree-config-version.cmake
+lib/cmake/dune-typetree/dune-typetree-config.cmake
+lib/dunecontrol/dune-typetree/dune.module
+libdata/pkgconfig/dune-typetree.pc
+%%DATADIR%%/config.h.cmake