diff options
author | Ismael Luceno | 2015-04-04 16:05:44 -0300 |
---|---|---|
committer | Ismael Luceno | 2015-04-04 16:12:37 -0300 |
commit | 34e63b5596b5279749d17b66387f6aa70267df03 (patch) | |
tree | 669cd7666080504ca5c21878182c8f4741559b72 /education/tcltutor | |
parent | 35618c36d4c36b9ffae7384d1fcc2363728f8d6a (diff) |
tcltutor: new spell, Learn Tcl
Diffstat (limited to 'education/tcltutor')
-rwxr-xr-x | education/tcltutor/BUILD | 1 | ||||
-rwxr-xr-x | education/tcltutor/DEPENDS | 2 | ||||
-rwxr-xr-x | education/tcltutor/DETAILS | 16 | ||||
-rw-r--r-- | education/tcltutor/HISTORY | 2 | ||||
-rwxr-xr-x | education/tcltutor/INSTALL | 10 |
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" |