Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml @@ -1167,16 +1167,48 @@ Perl, PHP, Python, Ruby, Tcl, - and Tk are supported by default. To - support another interpreter, set - SHEBANG_LANG, - interp_OLD_CMD and - interp_CMD. For - example: - - SHEBANG_LANG= lua -lua_OLD_CMD= /usr/bin/lua -lua_CMD= ${LOCALBASE}/bin/lua + and Tk are supported by + default. + + There are three configuration variables: + + + + SHEBANG_LANG + + + The list of supported interpreters. + + + + + interp_CMD + + + The correct path to the command interpreter. The + default value is + ${LOCALBASE}/bin/interp. + + + + + interp_OLD_CMD + + The list of wrong invocations of interpreters. They + will be replaced by the correct path in + interp_CMD. + This list will always be part of it: + "/usr/bin/env interp" + /bin/interp + /usr/bin/interp. + + + + + To add another interpreter, set + SHEBANG_LANG. For example: + + SHEBANG_LANG= lua interp_OLD_CMD will contain multiple values. Any entry with spaces must be @@ -1231,22 +1263,25 @@ <literal>tcl</literal> - Possible arguments: PORT - - Add a dependency on Tcl. The - PORT parameter can be either - tcl or tk. Either a - version or wrapper dependency can be appended using - PORT:version or - PORT:wrapper. The version can be empty, one - or more exact version numbers (currently 84, - 85, or 86), or a minimal - version number (currently 84+, - 85+ or 86+). A build- or - run-time only dependency can be specified using - PORT,build or PORT,run. - After including bsd.port.pre.mk the port - can inspect the results using these variables: + Possible arguments: version, + wrapper, build, + run, tea + + Add a dependency on Tcl. A + specific version can be requested using + version. The version can be empty, + one or more exact version numbers (currently + 84, 85, or + 86), or a minimal version number (currently + 84+, 85+ or + 86+). To only request a non version specific + wrapper, use wrapper. A build- or run-time + only dependency can be specified using build + or run. To build the port using the + Tcl Extension Architecture, use + tea. After including + bsd.port.pre.mk the port can inspect the + results using these variables: