Update the package list creation code to sort the list usefully.
This commit is contained in:
parent
a04116184a
commit
a1de7781c2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15693
1 changed files with 2 additions and 2 deletions
|
@ -6107,12 +6107,12 @@ pre-install:
|
|||
you can then install the port and create the package list.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput>
|
||||
&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * \! -type d) > pkg-plist</userinput></screen>
|
||||
&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name</replaceable> && find -d * \! -type d) | sort > pkg-plist</userinput></screen>
|
||||
|
||||
<para>You must also add any newly created directories to the packing
|
||||
list.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name && find -d * -type d) | comm -13 OLD-DIRS - | sed -e 's#^#@dirrm #' >> pkg-plist</replaceable></userinput></screen>
|
||||
<screen>&prompt.root; <userinput>(cd /var/tmp/<replaceable>port-name && find -d * -type d) | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' >> pkg-plist</replaceable></userinput></screen>
|
||||
|
||||
<para>Finally, you need to tidy up the packing list by hand; it isn't
|
||||
<emphasis>all</emphasis> automated. Manual pages should be listed in
|
||||
|
|
Loading…
Reference in a new issue