summaryrefslogtreecommitdiff
path: root/math/wingz3/files/Wingz3
diff options
context:
space:
mode:
Diffstat (limited to 'math/wingz3/files/Wingz3')
-rw-r--r--math/wingz3/files/Wingz316
1 files changed, 16 insertions, 0 deletions
diff --git a/math/wingz3/files/Wingz3 b/math/wingz3/files/Wingz3
new file mode 100644
index 000000000000..9f6f7d7505b9
--- /dev/null
+++ b/math/wingz3/files/Wingz3
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# The following combines the effects of ${WINGZ3}/bin/WingzPro
+# and the ${WINGZ3}/bin/wzenv (yes, it does set the LD_RUN_PATH,
+# while exporting the SHLIB_PATH).
+WINGZ3=_X11BASE_/Wingz3
+WZUSER="IISC"
+WZCOMPANY="IISC"
+WZPLATFORM=LINUX
+LD_RUN_PATH=$WINGZ3/lib/$WZPLATFORM:$LD_RUN_PATH
+WZBSDECHO=TRUE
+
+export WINGZ3 WZCOMPANY WZUSER WZPLATFORM SHLIB_PATH WZBSDECHO
+
+# Invoke the binary directly:
+exec ${WINGZ3}/bin/LINUX/WingzPro "$@"