summaryrefslogtreecommitdiff
path: root/math/octave-forge-mboct-numerical-pkg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-mboct-numerical-pkg/Makefile')
-rw-r--r--math/octave-forge-mboct-numerical-pkg/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/math/octave-forge-mboct-numerical-pkg/Makefile b/math/octave-forge-mboct-numerical-pkg/Makefile
new file mode 100644
index 000000000000..c3629336e5df
--- /dev/null
+++ b/math/octave-forge-mboct-numerical-pkg/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= octave-forge-mboct-numerical-pkg
+DISTVERSION= 0.1.0
+CATEGORIES= math
+
+MAINTAINER= stephen@FreeBSD.org
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+WWW= https://packages.octave.org/
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/../COPYING
+
+USES= octave autoreconf
+
+LIB_DEPENDS+= libgtest.so:devel/googletest \
+ libmetis.so:math/metis \
+ libmumps_common_seq.so:math/mumps
+
+RUN_DEPENDS+= ${OCTAVE_TARBALLS_DIR}/mboct-octave-pkg.tar.gz:math/octave-forge-mboct-octave-pkg
+
+USE_GITHUB= yes
+GH_ACCOUNT= octave-user
+GH_PROJECT= mboct-numerical-pkg
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>