Date: Mon, 28 Oct 2013 22:02:58 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r43066 - head/en_US.ISO8859-1/books/porters-handbook Message-ID: <201310282202.r9SM2wEN056874@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Mon Oct 28 22:02:58 2013 New Revision: 43066 URL: http://svnweb.freebsd.org/changeset/doc/43066 Log: Remove mention of pkg-req: it is only used in about 20 places now and it is deprecated. Discussed with: bdrewery Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Oct 28 21:48:10 2013 (r43065) +++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Oct 28 22:02:58 2013 (r43066) @@ -10220,24 +10220,6 @@ etc/orbit.conf.sample POST-DEINSTALL</literal>.</para> </sect1> - <sect1 id="pkg-req"> - <title><filename>pkg-req</filename></title> - - <para>If your port needs to determine if it should install or - not, you can create a <filename>pkg-req</filename> - <quote>requirements</quote> script. It will be invoked - automatically at installation/de-installation time to - determine whether or not installation/de-installation should - proceed.</para> - - <para>The script will be run at installation time by - &man.pkg.add.1; as - <literal>pkg-req ${PKGNAME} INSTALL</literal>. - At de-installation time it will be run by - &man.pkg.delete.1; as - <literal>pkg-req ${PKGNAME} DEINSTALL</literal>.</para> - </sect1> - <sect1 id="pkg-names"> <title id="porting-pkgfiles">Changing the Names of <filename>pkg-<replaceable>*</replaceable></filename> @@ -10291,11 +10273,6 @@ etc/orbit.conf.sample </row> <row> - <entry><makevar>PKGREQ</makevar></entry> - <entry><literal>${PKGDIR}/pkg-req</literal></entry> - </row> - - <row> <entry><makevar>PKGMESSAGE</makevar></entry> <entry><literal>${PKGDIR}/pkg-message</literal></entry> </row> @@ -10332,8 +10309,9 @@ etc/orbit.conf.sample added to the <makevar>SUB_FILES</makevar>. For the files <filename>pkg-message</filename>, <filename>pkg-install</filename>, - <filename>pkg-deinstall</filename> and - <filename>pkg-req</filename>, the corresponding Makefile + and + <filename>pkg-deinstall</filename>, + the corresponding Makefile variable is automatically set to point to the processed version.</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310282202.r9SM2wEN056874>