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 - - <literal>@cwd</literal> - [<replaceable>directory</replaceable>] (Deprecated) - - Set the internal directory pointer to point to - directory. All subsequent filenames are assumed relative to - this directory. - - - <literal>@exec</literal> + <title><literal>@preexec</literal> + <replaceable>command</replaceable>, + <literal>@postexec</literal> + <replaceable>command</replaceable>, + <literal>@preunexec</literal> + <replaceable>command</replaceable>, + <literal>@postunexec</literal> <replaceable>command</replaceable> 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 @@ - - <literal>@unexec</literal> - <replaceable>command</replaceable> + + <literal>@exec</literal> + <replaceable>command</replaceable>, + <literal>@unexec</literal> + <replaceable>command</replaceable> (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.