aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-piqp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-piqp/Makefile')
-rw-r--r--math/octave-forge-piqp/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/math/octave-forge-piqp/Makefile b/math/octave-forge-piqp/Makefile
new file mode 100644
index 000000000000..3eff2355d1b3
--- /dev/null
+++ b/math/octave-forge-piqp/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= octave-forge-piqp
+PORTVERSION= 0.5.0
+CATEGORIES= math
+MASTER_SITES= https://github.com/PREDICT-EPFL/piqp/releases/download/v0.5.0/
+DISTNAME= piqp-octave
+
+MAINTAINER= stephen@FreeBSD.org
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+WWW= https://packages.octave.org/
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BROKEN= does not build with octave version >= 10.1.0
+
+USES= octave
+
+OCTAVE_SRC= ${DISTNAME}
+WRKSRC= ${WRKDIR}/${OCTAVE_SRC}
+
+do-build:
+ cd ${WRKSRC}; \
+ octave-cli -W -H -q --no-site-file --eval make_piqp
+ ${RM} ${WRKSRC}/src/piqp/interfaces/octave/package/DESCRIPTION
+ ${RM} ${WRKSRC}/pre_install.m
+ ${MV} ${WRKSRC}/piqp_oct.oct ${WRKSRC}/inst/.
+
+.include <bsd.port.mk>