View | Details | Raw Unified | Return to bug 55391
Collapse All | Expand All

(-)book.sgml (-2 / +2 lines)
Lines 6160-6166 Link Here
6160
6160
6161
      <para>Store the directory structure in a new file.</para>
6161
      <para>Store the directory structure in a new file.</para>
6162
6162
6163
      <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort -r &gt; OLD-DIRS</userinput></screen>
6163
      <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort &gt; OLD-DIRS</userinput></screen>
6164
6164
6165
      <para>If your port honors <makevar>PREFIX</makevar> (which it should)
6165
      <para>If your port honors <makevar>PREFIX</makevar> (which it should)
6166
        you can then install the port and create the package list.</para>
6166
        you can then install the port and create the package list.</para>
Lines 6171-6177 Link Here
6171
      <para>You must also add any newly created directories to the packing
6171
      <para>You must also add any newly created directories to the packing
6172
        list.</para>
6172
        list.</para>
6173
6173
6174
      <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort -r | comm -13 OLD-DIRS - | sed -e 's#^#@dirrm #' &gt;&gt; pkg-plist</userinput></screen>
6174
      <screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' &gt;&gt; pkg-plist</userinput></screen>
6175
6175
6176
      <para>Finally, you need to tidy up the packing list by hand; it is not
6176
      <para>Finally, you need to tidy up the packing list by hand; it is not
6177
        <emphasis>all</emphasis> automated.  Manual pages should be listed in
6177
        <emphasis>all</emphasis> automated.  Manual pages should be listed in

Return to bug 55391