1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to newer version of these documents.

Also included tcl8.5 documentation

version	new version
8.3.4	8.3.5
8.4a1	8.4.7
-	8.5a1
This commit is contained in:
Edwin Groothuis 2004-11-18 01:53:51 +00:00
parent 160d06f279
commit 0bcb572b2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121840
10 changed files with 1248 additions and 747 deletions

View File

@ -6,11 +6,11 @@
#
PORTNAME= tcl-manual
PORTVERSION= 2001.12.19
PORTVERSION= 20041118
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
DISTFILES= tcl8.3.4.html.tar.gz tcl8.4a3.html.tar.gz
DISTFILES= tcl8.3.5-html.tar.gz tcl8.4.7-html.tar.gz tcl8.5a1-html.tar.gz
MAINTAINER= edwin@mavetju.org
COMMENT= Documentation for TCL (Tool Command Language)
@ -20,22 +20,27 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
post-patch:
@${RM} ${WRKDIR}/tcl8.3.4/html/UserCmd/*.orig
@${RM} ${WRKDIR}/tcl8.4a3/html/UserCmd/*.orig
@${FIND} ${WRKSRC} -name "*.orig" -delete
@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.3/tcl.h|g' \
${WRKDIR}/tcl8.3.4/html/TclLib/*
${WRKDIR}/tcl8.3.5/html/TclLib/*
@${REINPLACE_CMD} -e 's|tk\.h|tk8.3/tk.h|g' \
${WRKDIR}/tcl8.3.4/html/TkLib/*
${WRKDIR}/tcl8.3.5/html/TkLib/*
@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.4/tcl.h|g' \
${WRKDIR}/tcl8.4a3/html/TclLib/*
${WRKDIR}/tcl8.4.7/html/TclLib/*
@${REINPLACE_CMD} -e 's|tk\.h|tk8.4/tk.h|g' \
${WRKDIR}/tcl8.4a3/html/TkLib/*
${WRKDIR}/tcl8.4.7/html/TkLib/*
@${REINPLACE_CMD} -e 's|tcl\.h|tcl8.5/tcl.h|g' \
${WRKDIR}/tcl8.5a1/html/TclLib/*
@${REINPLACE_CMD} -e 's|tk\.h|tk8.5/tk.h|g' \
${WRKDIR}/tcl8.5a1/html/TkLib/*
@${FIND} ${WRKSRC} -name "*.bak" -delete
do-install:
${MKDIR} ${PREFIX}/share/doc/tcl83
${MKDIR} ${PREFIX}/share/doc/tcl84
${CP} -R ${WRKDIR}/tcl8.4a3/html/* ${PREFIX}/share/doc/tcl84
${CP} -R ${WRKDIR}/tcl8.3.4/html/* ${PREFIX}/share/doc/tcl83
${MKDIR} ${PREFIX}/share/doc/tcl85
${CP} -R ${WRKDIR}/tcl8.5a1/html/* ${PREFIX}/share/doc/tcl85
${CP} -R ${WRKDIR}/tcl8.4.7/html/* ${PREFIX}/share/doc/tcl84
${CP} -R ${WRKDIR}/tcl8.3.5/html/* ${PREFIX}/share/doc/tcl83
.include <bsd.port.mk>

View File

@ -1,4 +1,6 @@
MD5 (tcl8.3.4.html.tar.gz) = 68e8caa389268c8d2ffe17bc7c3f0afc
SIZE (tcl8.3.4.html.tar.gz) = 620736
MD5 (tcl8.4a3.html.tar.gz) = 50937f120da6c5a866648fcb2beb472b
SIZE (tcl8.4a3.html.tar.gz) = 669335
MD5 (tcl8.3.5-html.tar.gz) = d3111e9e01486a5cb92fad525f832b44
SIZE (tcl8.3.5-html.tar.gz) = 620957
MD5 (tcl8.4.7-html.tar.gz) = 46a6564efbcffd594bb0303c04395bc3
SIZE (tcl8.4.7-html.tar.gz) = 715175
MD5 (tcl8.5a1-html.tar.gz) = c017191619ac2284f7934d5ebe1c1868
SIZE (tcl8.5a1-html.tar.gz) = 747311

View File

@ -1,7 +1,14 @@
$FreeBSD$
--- tcl8.3.4/html/UserCmd/tclsh.htm.orig Mon Dec 17 01:02:21 2001
+++ tcl8.3.4/html/UserCmd/tclsh.htm Mon Dec 17 01:02:48 2001
--- tcl8.3.5/html/UserCmd/tclsh.htm.orig Sat Oct 19 05:11:58 2002
+++ tcl8.3.5/html/UserCmd/tclsh.htm Thu Nov 18 12:48:36 2004
@@ -4,7 +4,7 @@
<DL><DD>tclsh - Simple shell containing Tcl interpreter</DL>
<DD><A HREF="tclsh.htm#M3" NAME="L3">SYNOPSIS</A>
<DL>
-<DD><B>tclsh</B> ?<I>fileName arg arg ...</I>?
+<DD><B>tclsh8.3</B> ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="tclsh.htm#M4" NAME="L4">DESCRIPTION</A>
<DD><A HREF="tclsh.htm#M5" NAME="L5">SCRIPT FILES</A>
@@ -21,7 +21,7 @@
<H3><A NAME="M2">NAME</A></H3>
tclsh - Simple shell containing Tcl interpreter

View File

@ -1,7 +1,14 @@
$FreeBSD$
--- tcl8.3.4/html/UserCmd/wish.htm.orig Mon Dec 17 01:02:23 2001
+++ tcl8.3.4/html/UserCmd/wish.htm Mon Dec 17 01:03:12 2001
--- tcl8.3.5/html/UserCmd/wish.htm.orig Sat Oct 19 05:11:58 2002
+++ tcl8.3.5/html/UserCmd/wish.htm Thu Nov 18 12:49:21 2004
@@ -4,7 +4,7 @@
<DL><DD>wish - Simple windowing shell</DL>
<DD><A HREF="wish.htm#M3" NAME="L14">SYNOPSIS</A>
<DL>
-<DD><B>wish</B> ?<I>fileName arg arg ...</I>?
+<DD><B>wish8.3</B> ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="wish.htm#M4" NAME="L15">OPTIONS</A>
<DL>
@@ -35,7 +35,7 @@
<H3><A NAME="M2">NAME</A></H3>
wish - Simple windowing shell

View File

@ -1,8 +1,15 @@
$FreeBSD$
--- tcl8.4a3/html/UserCmd/tclsh.htm.org Mon Dec 17 01:05:42 2001
+++ tcl8.4a3/html/UserCmd/tclsh.htm Mon Dec 17 01:06:06 2001
@@ -21,7 +21,7 @@
--- tcl8.4.7/html/UserCmd/tclsh.htm.orig Tue Jul 27 05:21:39 2004
+++ tcl8.4.7/html/UserCmd/tclsh.htm Thu Nov 18 12:48:14 2004
@@ -4,7 +4,7 @@
<DL><DD>tclsh - Simple shell containing Tcl interpreter</DL>
<DD><A HREF="tclsh.htm#M3" NAME="L3">SYNOPSIS</A>
<DL>
-<DD><B>tclsh</B> ?<I>fileName arg arg ...</I>?
+<DD><B>tclsh8.4</B> ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="tclsh.htm#M4" NAME="L4">DESCRIPTION</A>
<DD><A HREF="tclsh.htm#M5" NAME="L5">SCRIPT FILES</A>
@@ -23,7 +23,7 @@
<H3><A NAME="M2">NAME</A></H3>
tclsh - Simple shell containing Tcl interpreter
<H3><A NAME="M3">SYNOPSIS</A></H3>
@ -11,8 +18,8 @@ $FreeBSD$
<H3><A NAME="M4">DESCRIPTION</A></H3>
<B>Tclsh</B> is a shell-like application that reads Tcl commands
from its standard input or from a file and evaluates them.
@@ -46,7 +46,7 @@
case, but the script file can always <B><A HREF="../TclCmd/source.htm">source</A></B> it if desired.
@@ -56,7 +56,7 @@
line, but the script file can always <B><A HREF="../TclCmd/source.htm">source</A></B> it if desired.
<P>
If you create a Tcl script in a file whose first line is
-<PRE><B>#!/usr/local/bin/tclsh</B></PRE>
@ -20,7 +27,7 @@ $FreeBSD$
then you can invoke the script file directly from your shell if
you mark the file as executable.
This assumes that <B>tclsh</B> has been installed in the default
@@ -60,7 +60,7 @@
@@ -70,7 +70,7 @@
following three lines:
<PRE><B>#!/bin/sh
# the next line restarts using tclsh &#92;

View File

@ -1,7 +1,14 @@
$FreeBSD$
--- tcl8.4a3/html/UserCmd/wish.htm.orig Mon Dec 17 00:35:48 2001
+++ tcl8.4a3/html/UserCmd/wish.htm Mon Dec 17 00:36:42 2001
--- tcl8.4.7/html/UserCmd/wish.htm.orig Tue Jul 27 05:21:39 2004
+++ tcl8.4.7/html/UserCmd/wish.htm Thu Nov 18 12:49:51 2004
@@ -4,7 +4,7 @@
<DL><DD>wish - Simple windowing shell</DL>
<DD><A HREF="wish.htm#M3" NAME="L16">SYNOPSIS</A>
<DL>
-<DD><B>wish</B> ?<I>fileName arg arg ...</I>?
+<DD><B>wish8.4</B> ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="wish.htm#M4" NAME="L17">OPTIONS</A>
<DL>
@@ -35,7 +35,7 @@
<H3><A NAME="M2">NAME</A></H3>
wish - Simple windowing shell
@ -10,8 +17,8 @@ $FreeBSD$
+<B>wish8.4</B> ?<I>fileName arg arg ...</I>?<BR>
<H3><A NAME="M4">OPTIONS</A></H3>
<DL>
<P><DT><A NAME="M5"><B>-colormap </B><I>new</I></A><DD>
@@ -143,7 +143,7 @@
<DT><A NAME="M5"><B>-colormap </B><I>new</I></A><DD>
@@ -144,7 +144,7 @@
<P></DL>
<H3><A NAME="M22">SCRIPT FILES</A></H3>
If you create a Tcl script in a file whose first line is
@ -20,7 +27,7 @@ $FreeBSD$
then you can invoke the script file directly from your shell if
you mark it as executable.
This assumes that <B>wish</B> has been installed in the default
@@ -157,7 +157,7 @@
@@ -158,7 +158,7 @@
following three lines:
<PRE><B>#!/bin/sh
# the next line restarts using wish &#92;

View File

@ -0,0 +1,38 @@
--- tcl8.5a1/html/UserCmd/tclsh.htm.orig Thu Mar 4 11:24:31 2004
+++ tcl8.5a1/html/UserCmd/tclsh.htm Thu Nov 18 12:47:37 2004
@@ -4,7 +4,7 @@
<DL><DD>tclsh - Simple shell containing Tcl interpreter</DL>
<DD><A HREF="tclsh.htm#M3" NAME="L3">SYNOPSIS</A>
<DL>
-<DD><B>tclsh</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?
+<DD><B>tclsh8.5</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="tclsh.htm#M4" NAME="L4">DESCRIPTION</A>
<DD><A HREF="tclsh.htm#M5" NAME="L5">SCRIPT FILES</A>
@@ -23,7 +23,7 @@
<H3><A NAME="M2">NAME</A></H3>
tclsh - Simple shell containing Tcl interpreter
<H3><A NAME="M3">SYNOPSIS</A></H3>
-<B>tclsh</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?<BR>
+<B>tclsh8.5</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?<BR>
<H3><A NAME="M4">DESCRIPTION</A></H3>
<B>Tclsh</B> is a shell-like application that reads Tcl commands
from its standard input or from a file and evaluates them.
@@ -58,7 +58,7 @@
line, but the script file can always <B><A HREF="../TclCmd/source.htm">source</A></B> it if desired.
<P>
If you create a Tcl script in a file whose first line is
-<PRE><B>#!/usr/local/bin/tclsh</B></PRE>
+<PRE><B>#!/usr/local/bin/tclsh8.5</B></PRE>
then you can invoke the script file directly from your shell if
you mark the file as executable.
This assumes that <B>tclsh</B> has been installed in the default
@@ -72,7 +72,7 @@
following three lines:
<PRE><B>#!/bin/sh
# the next line restarts using tclsh &#92;
-exec tclsh &quot;$0&quot; &quot;$@&quot;</B></PRE>
+exec tclsh8.5 &quot;$0&quot; &quot;$@&quot;</B></PRE>
This approach has three advantages over the approach in the previous
paragraph. First, the location of the <B>tclsh</B> binary doesn't have
to be hard-wired into the script: it can be anywhere in your shell

View File

@ -0,0 +1,38 @@
--- tcl8.5a1/html/UserCmd/wish.htm.orig Thu Mar 4 11:24:31 2004
+++ tcl8.5a1/html/UserCmd/wish.htm Thu Nov 18 12:47:04 2004
@@ -4,7 +4,7 @@
<DL><DD>wish - Simple windowing shell</DL>
<DD><A HREF="wish.htm#M3" NAME="L16">SYNOPSIS</A>
<DL>
-<DD><B>wish</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?
+<DD><B>wish8.5</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?
</DL>
<DD><A HREF="wish.htm#M4" NAME="L17">OPTIONS</A>
<DL>
@@ -36,7 +36,7 @@
<H3><A NAME="M2">NAME</A></H3>
wish - Simple windowing shell
<H3><A NAME="M3">SYNOPSIS</A></H3>
-<B>wish</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?<BR>
+<B>wish8.5</B> ?-encoding <I>name</I>? ?<I>fileName arg arg ...</I>?<BR>
<H3><A NAME="M4">OPTIONS</A></H3>
<DL>
<DT><A NAME="M5"><B>-encoding </B><I>name</I></A><DD>
@@ -154,7 +154,7 @@
<P></DL>
<H3><A NAME="M23">SCRIPT FILES</A></H3>
If you create a Tcl script in a file whose first line is
-<PRE><B>#!/usr/local/bin/wish</B></PRE>
+<PRE><B>#!/usr/local/bin/wish8.5</B></PRE>
then you can invoke the script file directly from your shell if
you mark it as executable.
This assumes that <B>wish</B> has been installed in the default
@@ -168,7 +168,7 @@
following three lines:
<PRE><B>#!/bin/sh
# the next line restarts using wish &#92;
-exec wish &quot;$0&quot; &quot;$@&quot;</B></PRE>
+exec wish8.5 &quot;$0&quot; &quot;$@&quot;</B></PRE>
This approach has three advantages over the approach in the previous
paragraph. First, the location of the <B>wish</B> binary doesn't have
to be hard-wired into the script: it can be anywhere in your shell

View File

@ -1,6 +1,7 @@
These are the manuals for the TCL and TK commands and the TCL and
TK library. They're installed in share/doc/tcl83/contents.htm and
share/doc/tcl84/contents.htm.
TK library. They're installed in PREFIX/share/doc/tcl83/contents.htm,
PREFIX/share/doc/tcl84/contents.htm and
PREFIX/share/doc/tcl85/contents.htm.
WWW: http://www.scriptics.com/

File diff suppressed because it is too large Load Diff