aboutsummaryrefslogtreecommitdiff
path: root/math/octave-devel/files/octave
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-devel/files/octave')
-rw-r--r--math/octave-devel/files/octave8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/octave-devel/files/octave b/math/octave-devel/files/octave
new file mode 100644
index 000000000000..5910ee467fee
--- /dev/null
+++ b/math/octave-devel/files/octave
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+OCTAVE_EXEC=%%PREFIX%%/bin/octave-%%OCTAVE_VERSION%%
+LD_LIBRARY_PATH=%%PREFIX%%/lib/octave-%%OCTAVE_VERSION%%; export LD_LIBRARY_PATH
+
+exec $OCTAVE_EXEC "$@"