summaryrefslogtreecommitdiff
path: root/math/gmm++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/gmm++/Makefile')
-rw-r--r--math/gmm++/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/math/gmm++/Makefile b/math/gmm++/Makefile
index b43a6b76e2ff..a4a675a83741 100644
--- a/math/gmm++/Makefile
+++ b/math/gmm++/Makefile
@@ -1,10 +1,11 @@
PORTNAME= gmm++
-PORTVERSION= 5.4.2
+DISTVERSION= 5.4.4
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/getfem/stable/
-DISTNAME= ${PORTNAME:S/+//g}-${PORTVERSION}
+DISTNAME= ${PORTNAME:S/+//g}-${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= atanubiswas484@gmail.com
COMMENT= Generic matrix template library
WWW= https://getfem.org/gmm/
@@ -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>