summaryrefslogtreecommitdiff
path: root/math/octave-forge-mboct-mbdyn-pkg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-mboct-mbdyn-pkg/Makefile')
-rw-r--r--math/octave-forge-mboct-mbdyn-pkg/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/math/octave-forge-mboct-mbdyn-pkg/Makefile b/math/octave-forge-mboct-mbdyn-pkg/Makefile
new file mode 100644
index 000000000000..c41449f90ad9
--- /dev/null
+++ b/math/octave-forge-mboct-mbdyn-pkg/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= octave-forge-mboct-mbdyn-pkg
+DISTVERSION= 0.1.1
+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 \
+ ${OCTAVE_TARBALLS_DIR}/mboct-numerical-pkg.tar.gz:math/octave-forge-mboct-numerical-pkg \
+ ${OCTAVE_TARBALLS_DIR}/nurbs.tar.gz:math/octave-forge-nurbs
+
+USE_GITHUB= yes
+GH_ACCOUNT= octave-user
+GH_PROJECT= mboct-mbdyn-pkg
+
+OCTAVE_SRC= ${GH_PROJECT}-${DISTVERSION}
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>