Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 22:00:46 +0200
From:      Anton Berezin <tobez@FreeBSD.org>
To:        doc@FreeBSD.org, ports@FreeBSD.org
Subject:   Document parameters to pkg-req
Message-ID:  <20010713220046.C57916@heechee.tobez.org>

next in thread | raw e-mail | index | archive | help

Index: book.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v
retrieving revision 1.156
diff -u -r1.156 book.sgml
--- book.sgml	2001/07/13 07:33:25	1.156
+++ book.sgml	2001/07/13 19:47:19
@@ -2121,6 +2121,13 @@
           script.  It will be invoked automatically at
           installation/deinstallation time to determine whether or not
           installation/deinstallation should proceed.</para>
+
+        <para>The script will be run at installation time by
+          <command>pkg_add</command> as
+          <literal>pkg-req &dollar;{PKGNAME} INSTALL</literal>.
+          At deinstallation time it will be run by
+          <command>pkg_delete</command> as
+          <literal>pkg-req &dollar;{PKGNAME} DEINSTALL</literal>.</para>
       </sect1>
 
       <sect1 id="porting-plist">

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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