Add a not on the use of the ports/Tools/scripts/plist script

Approved by: simon
This commit is contained in:
Mathieu Arnold 2004-08-03 13:14:20 +00:00
parent 468dea18fd
commit 2261e01306
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=21792

View file

@ -8150,7 +8150,22 @@ pre-install:
<para>Alternatively, use the <command>plist</command> script in
<filename>/usr/ports/Tools/scripts/</filename> to build the
package list automatically.</para>
package list automatically. The first step is the same as
above: take the first three lines, that is,
<command>mkdir</command>, <command>mtree</command> and
<command>make depends</command>. Then build and install the
port:</para>
<screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput></screen>
<para>And let <command>plist</command> create the
<filename>pkg-plist</filename> file:</para>
<screen>&prompt.root; <userinput>/usr/ports/Tools/scripts/plist -Md -m /etc/mtree/BSD.<replaceable>port-type</replaceable>.dist /var/tmp/<replaceable>port-name</replaceable> &gt; pkg-plist</userinput></screen>
<para>The packing list still have to tidied up the by hand as
stated above.</para>
</chapter>
<chapter id="keeping-up">