summaryrefslogtreecommitdiffstats
path: root/education
diff options
context:
space:
mode:
Diffstat (limited to 'education')
-rwxr-xr-xeducation/tcltutor/BUILD1
-rwxr-xr-xeducation/tcltutor/DEPENDS2
-rwxr-xr-xeducation/tcltutor/DETAILS16
-rw-r--r--education/tcltutor/HISTORY2
-rwxr-xr-xeducation/tcltutor/INSTALL10
5 files changed, 31 insertions, 0 deletions
diff --git a/education/tcltutor/BUILD b/education/tcltutor/BUILD
new file mode 100755
index 0000000000..27ba77ddaf
--- /dev/null
+++ b/education/tcltutor/BUILD
@@ -0,0 +1 @@
+true
diff --git a/education/tcltutor/DEPENDS b/education/tcltutor/DEPENDS
new file mode 100755
index 0000000000..800fb22adf
--- /dev/null
+++ b/education/tcltutor/DEPENDS
@@ -0,0 +1,2 @@
+depends tcl &&
+depends tk
diff --git a/education/tcltutor/DETAILS b/education/tcltutor/DETAILS
new file mode 100755
index 0000000000..2b9efdf245
--- /dev/null
+++ b/education/tcltutor/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=tcltutor
+ VERSION=3.0b7
+ SOURCE="${SPELL}${VERSION//.}.tgz"
+ SOURCE_URL[0]=http://www.msen.com/~clif/${SOURCE}
+ SOURCE_HASH=sha512:17af025b192eefcfde03bf4f9dc173030a0048e84de4ef42c4525f645e5b5067d9209af0da4b1bc632cfbc6faf9703b96eaf9148324c63e4a3d367671756f0f9
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/TclTutor"
+ WEB_SITE="http://www.msen.com/~clif/TclTutor.html"
+ LICENSE[0]="BSD"
+ ENTERED=20150404
+ KEYWORDS=""
+ SHORT="Learn Tcl"
+cat << EOF
+TclTutor is a computer aided instruction package for learning the Tcl
+language. It consists of 47 lessons covering the basic Tcl commands, including
+the dict command.
+EOF
diff --git a/education/tcltutor/HISTORY b/education/tcltutor/HISTORY
new file mode 100644
index 0000000000..8e22e41990
--- /dev/null
+++ b/education/tcltutor/HISTORY
@@ -0,0 +1,2 @@
+2015-04-04 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL: spell created
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"