summaryrefslogtreecommitdiff
path: root/math/gmm++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gmm++/Makefile')
-rw-r--r--math/gmm++/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/gmm++/Makefile b/math/gmm++/Makefile
index 6e8e15803e91..a4a675a83741 100644
--- a/math/gmm++/Makefile
+++ b/math/gmm++/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gmm++
DISTVERSION= 5.4.4
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/getfem/stable/
DISTNAME= ${PORTNAME:S/+//g}-${DISTVERSION}
@@ -20,4 +21,18 @@ GNU_CONFIGURE= yes
NO_ARCH= yes
NO_BUILD= yes
+OPTIONS_DEFAULT= SUPERLU
+OPTIONS_SINGLE= SOLVER
+OPTIONS_SINGLE_SOLVER= MUMPS SUPERLU
+
+SOLVER_DESC= Simultaneous equations solver
+MUMPS_DESC= Use MUMPS (math/mumps)
+SUPERLU_DESC= Use SuperLU (math/superlu)
+
+MUMPS_RUN_DEPENDS= ${LOCALBASE}/include/cmumps_c.h:math/mumps
+MUMPS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-mumps
+
+SUPERLU_RUN_DEPENDS= ${LOCALBASE}/include/superlu/supermatrix.h:math/superlu
+SUPERLU_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-superlu
+
.include <bsd.port.mk>