Add section on EXTRACT_DEPENDS.
PR: 61361, part of 56452 Submitted by: schweikh, Kang Liu <liukang@bjpu.edu.cn>
This commit is contained in:
parent
f993e774b2
commit
65578e98e3
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19759
1 changed files with 27 additions and 1 deletions
|
@ -2967,6 +2967,32 @@ PATCHFILES= patch1:test</programlisting>
|
|||
same as <makevar>DEPENDS_TARGET</makevar>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title><makevar>EXTRACT_DEPENDS</makevar></title>
|
||||
|
||||
<para>This variable specifies executables or files this port
|
||||
requires for extraction. Like the previous, it is a list of
|
||||
<replaceable>path</replaceable>:<replaceable>dir</replaceable><optional><replaceable>:target</replaceable></optional>
|
||||
tuples. For example, <programlisting>EXTRACT_DEPENDS=
|
||||
unzip:${PORTSDIR}/archivers/unzip</programlisting> will check
|
||||
for an executable called <command>unzip</command>, and descend
|
||||
into the <filename>archivers/unzip</filename> subdirectory of
|
||||
your ports tree to build and install it if it is not found.</para>
|
||||
|
||||
<para>The dependency is checked from within the
|
||||
<maketarget>extract</maketarget> target. The
|
||||
<replaceable>target</replaceable> part can be omitted if it is the
|
||||
same as <makevar>DEPENDS_TARGET</makevar>.</para>
|
||||
|
||||
<note>
|
||||
<para>Use this variable only if the extraction does not already
|
||||
work (the default assumes <command>gzip</command>) and cannot
|
||||
be made to work using <makevar>USE_ZIP</makevar> or
|
||||
<makevar>USE_BZIP2</makevar> described in <xref
|
||||
linkend="use-vars">.
|
||||
</note>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title><makevar>DEPENDS</makevar></title>
|
||||
|
||||
|
@ -2980,7 +3006,7 @@ PATCHFILES= patch1:test</programlisting>
|
|||
same as <makevar>DEPENDS_TARGET</makevar>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect2 id="use-vars">
|
||||
<title><makevar>USE_<replaceable>*</replaceable></makevar></title>
|
||||
|
||||
<para>A number of variables exist in order to encapsulate common
|
||||
|
|
Loading…
Reference in a new issue