summaryrefslogtreecommitdiffstats
path: root/education/tcltutor/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'education/tcltutor/INSTALL')
-rwxr-xr-xeducation/tcltutor/INSTALL10
1 files changed, 10 insertions, 0 deletions
diff --git a/education/tcltutor/INSTALL b/education/tcltutor/INSTALL
new file mode 100755
index 0000000000..40bd0b467c
--- /dev/null
+++ b/education/tcltutor/INSTALL
@@ -0,0 +1,10 @@
+dir="$INSTALL_ROOT/usr/share/games/$SPELL" &&
+wrapper="$INSTALL_ROOT/usr/games/$SPELL" &&
+cd "$SOURCE_DIRECTORY" &&
+mkdir -p "$dir" &&
+cp -r lesson *.tcl "$dir" &&
+cat >"$wrapper" <<EOF &&
+#!/bin/sh
+exec wish "$dir/TclTutor.tcl"
+EOF
+chmod 755 "$wrapper"