Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 10:27:57 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r43334 - head/en_US.ISO8859-1/books/porters-handbook
Message-ID:  <201312161027.rBGARv59077442@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon Dec 16 10:27:56 2013
New Revision: 43334
URL: http://svnweb.freebsd.org/changeset/doc/43334

Log:
  Add a description for USES=tcl and USES=tk
  
  Reviewed by:	tcltk@ (gahr)

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/uses.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/uses.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses.xml	Mon Dec 16 04:43:07 2013	(r43333)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses.xml	Mon Dec 16 10:27:56 2013	(r43334)
@@ -476,6 +476,78 @@
 </row>
 
 <row>
+  <entry><literal>tcl</literal></entry>
+
+  <entry><literal>PORT</literal></entry>
+
+  <entry>Add a dependency on <application>Tcl</application>.  The
+    <literal>PORT</literal> parameter can be either <literal>tcl</literal>
+    or <literal>tk</literal>.   Either a version or wrapper dependency
+    can be appended using <literal>PORT:version</literal> or
+    <literal>PORT:wrapper</literal>.  The version can be empty, one or
+    more exact version numbers (currently <literal>84</literal>,
+    <literal>85</literal>, or <literal>86</literal>), or a minimal
+    version number (currently <literal>84+</literal>,
+    <literal>85+</literal> or <literal>86+</literal>).  A build- or
+    run-time only dependency can be specified using
+    <literal>PORT,build</literal> or <literal>PORT,run</literal>.  After
+    including <filename>bsd.port.pre.mk</filename> the port can inspect
+    the results using these variables:
+
+    <itemizedlist>
+      <listitem>
+	<para><varname>TCL_VER</varname>: chosen major.minor version of
+	  <application>Tcl</application></para>
+      </listitem>
+
+      <listitem>
+	<para><varname>TCLSH</varname>: full path of the
+	  <application>Tcl</application> interpreter</para>
+      </listitem>
+
+      <listitem>
+	<para><varname>TCL_LIBDIR</varname>: path of the
+	  <application>Tcl</application> libraries</para>
+      </listitem>
+
+      <listitem>
+	<para><varname>TCL_INCLUDEDIR</varname>: path of the
+	  <application>Tcl</application> C header files</para>
+      </listitem>
+
+      <listitem>
+	<para><varname>TK_VER</varname>: chosen major.minor version of
+	  <application>Tk</application></para>
+      </listitem>
+
+      <listitem>
+	<para><varname>WISH</varname>: full path of the
+	  <application>Tk</application> interpreter</para>
+      </listitem>
+
+      <listitem>
+	<para><varname>TK_LIBDIR</varname>: path of the
+	  <application>Tk</application> libraries</para>
+      </listitem>
+
+      <listitem>
+	<para><varname>TK_INCLUDEDIR</varname>: path of the
+	  <application>Tk</application> C header files</para>
+      </listitem>
+    </itemizedlist></entry>
+</row>
+
+<row>
+  <entry><literal>tk</literal></entry>
+
+  <entry>Same as arguments for <literal>tcl</literal></entry>
+
+  <entry>Small wrapper when using both <application>Tcl</application>
+    and <application>Tk</application>.  The same variables are returned
+    as when using <application>Tcl</application>.</entry>
+</row>
+
+<row>
   <entry><literal>twisted</literal></entry>
 
   <entry>(none), <literal>ARGS</literal></entry>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312161027.rBGARv59077442>