Index: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
===================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
+++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml
@@ -461,21 +461,67 @@
@(,games,2755) sbin/daemon
-
- @cwd
- [directory] (Deprecated)
-
- Set the internal directory pointer to point to
- directory. All subsequent filenames are assumed relative to
- this directory.
-
-
- @exec
+ @preexec
+ command,
+ @postexec
+ command,
+ @preunexec
+ command,
+ @postunexec
command
Execute command as part of
- the unpacking process. If command contains any of these
+ the package installation or deinstallation process.
+
+
+
+ @preexec
+ command
+
+
+ Execute command as part
+ of the pre-install
+ scripts.
+
+
+
+
+ @postexec
+ command
+
+
+ Execute command as part
+ of the post-install
+ scripts.
+
+
+
+
+ @preunexec
+ command
+
+
+ Execute command as part
+ of the pre-deinstall
+ scripts.
+
+
+
+
+ @postunexec
+ command
+
+
+ Execute command as part
+ of the post-deinstall
+ scripts.
+
+
+
+
+ If command contains
+ any of these
sequences somewhere in it, they are expanded
inline. For these examples, assume that
@cwd is set to
@@ -527,20 +573,15 @@
-
- @unexec
- command
+
+ @exec
+ command,
+ @unexec
+ command (Deprecated)
Execute command as part of
- the deinstallation process. Expansion of special
- % sequences is the same as for
- @exec. This command is not executed
- during the package add, as @exec is, but
- rather when the package is deleted. This is useful for
- deleting links and other ancillary files that were created
- as a result of adding the package, but not directly known to
- the package's table of contents (and hence not automatically
- removable).
+ the installation or deinstallation process. Please use instead.