aboutsummaryrefslogtreecommitdiffstats
path: root/math/linux-dislin/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/linux-dislin/files')
-rw-r--r--math/linux-dislin/files/dislin-wrapper.sh19
-rw-r--r--math/linux-dislin/files/pkg-message6
2 files changed, 25 insertions, 0 deletions
diff --git a/math/linux-dislin/files/dislin-wrapper.sh b/math/linux-dislin/files/dislin-wrapper.sh
new file mode 100644
index 000000000000..3292b671be6a
--- /dev/null
+++ b/math/linux-dislin/files/dislin-wrapper.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Wrapper script for DISLIN binaries.
+#
+# $FreeBSD$
+#
+
+DISLIN=%%DISLIN_DIR%%
+export DISLIN
+
+self="${0##*/}"
+program="${DISLIN}/bin/${self}"
+
+if [ -x "${program}" ] ; then
+ exec "${program}" "$@"
+else
+ echo "${self} does not seem to exist." 1>&2
+ exit 1
+fi
diff --git a/math/linux-dislin/files/pkg-message b/math/linux-dislin/files/pkg-message
new file mode 100644
index 000000000000..5f47813461ea
--- /dev/null
+++ b/math/linux-dislin/files/pkg-message
@@ -0,0 +1,6 @@
+
+ DISLIN is free for non-commercial use on Linux and FreeBSD
+ only. You are advised to familiarize yourself with the terms
+ of license listed in %%DISLIN_DIR%%/DISLIN and on the DISLIN
+ website, http://www.linmpi.mpg.de/dislin/.
+