Index: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -1167,16 +1167,51 @@
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:
+ and Tk are supported by
+ default.
+
+ There are three configuration variables:
+
+
+
+ SHEBANG_LANG
+
+
+ The list of supported interpreters.
+
+
+
+
+ interp_CMD
+
+
+ The path to the command interpreter on &os;. The
+ default value is
+ ${LOCALBASE}/bin/interp.
+
+
+
+
+ interp_OLD_CMD
+
+ The list of wrong invocations of interpreters. These
+ are typically obsolete paths, or paths used on other
+ operating systems that are incorrect on &os;. They
+ will be replaced by the correct path in
+ interp_CMD.
+ This list will always be part of
+ interp_OLD_CMD:
+ "/usr/bin/env interp"
+ /bin/interp
+ /usr/bin/interp.
+
+
+
+
+ To add another interpreter, set
+ SHEBANG_LANG. For example:
- SHEBANG_LANG= lua
-lua_OLD_CMD= /usr/bin/lua
-lua_CMD= ${LOCALBASE}/bin/lua
+ SHEBANG_LANG= lua
interp_OLD_CMD
will contain multiple values. Any entry with spaces must be