|
Lines 8574-8582
Link Here
|
| 8574 |
<link linkend="porting-shlibs">shared libraries</link> section.</para> |
8574 |
<link linkend="porting-shlibs">shared libraries</link> section.</para> |
| 8575 |
|
8575 |
|
| 8576 |
<para>Alternatively, use the <command>plist</command> script in |
8576 |
<para>Alternatively, use the <command>plist</command> script in |
| 8577 |
<filename>/usr/ports/Tools/scripts/</filename> to build the |
8577 |
<filename>/usr/ports/Tools/scripts/</filename> or install |
| 8578 |
package list automatically. The first step is the same as |
8578 |
<filename role="package">ports-mgmt/genplist</filename> |
| 8579 |
above: take the first three lines, that is, |
8579 |
to build the package list automatically.</para> |
|
|
8580 |
|
| 8581 |
<para>When using the plist script, the first step is |
| 8582 |
the same as above: take the first three lines, that is, |
| 8580 |
<command>mkdir</command>, <command>mtree</command> and |
8583 |
<command>mkdir</command>, <command>mtree</command> and |
| 8581 |
<command>make depends</command>. Then build and install the |
8584 |
<command>make depends</command>. Then build and install the |
| 8582 |
port:</para> |
8585 |
port:</para> |
|
Lines 8588-8595
Link Here
|
| 8588 |
|
8591 |
|
| 8589 |
<screen>&prompt.root; <userinput>/usr/ports/Tools/scripts/plist -Md -m $(make -V MTREE_FILE) /var/tmp/$(make -V PORTNAME) > pkg-plist</userinput></screen> |
8592 |
<screen>&prompt.root; <userinput>/usr/ports/Tools/scripts/plist -Md -m $(make -V MTREE_FILE) /var/tmp/$(make -V PORTNAME) > pkg-plist</userinput></screen> |
| 8590 |
|
8593 |
|
| 8591 |
<para>The packing list still has to be tidied up by hand as |
8594 |
<para>To use genplist</para> |
| 8592 |
stated above.</para> |
8595 |
|
|
|
8596 |
<screen>&prompt.root; <userinput>genplist /var/tmp/$(make -V PORTNAME)</userinput></screen> |
| 8597 |
|
| 8598 |
<para>In either case, the packing list still has to be tidied up by |
| 8599 |
hand as stated above.</para> |
| 8593 |
|
8600 |
|
| 8594 |
</sect1> |
8601 |
</sect1> |