- Use neutral example for RUN_DEPENDS section, tcl/tk should be depended upon

using USE_* variables, not by RUN_DEPENDS entry
This commit is contained in:
Pav Lucistnik 2008-04-09 13:54:04 +00:00
parent 21be91a009
commit 56b9adbf78
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31820

View file

@ -3233,14 +3233,14 @@ ALWAYS_KEEP_DISTFILES= yes
<para>For example,</para> <para>For example,</para>
<programlisting>RUN_DEPENDS= ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \ <programlisting>RUN_DEPENDS= ${LOCALBASE}/etc/innd:${PORTSDIR}/news/inn \
wish8.0:${PORTSDIR}/x11-toolkits/tk80</programlisting> xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr</programlisting>
<para>will check if the file or directory <para>will check if the file or directory
<filename>/usr/local/etc/innd</filename> exists, and build and <filename>/usr/local/etc/innd</filename> exists, and build and
install it from the <filename>news/inn</filename> subdirectory of install it from the <filename>news/inn</filename> subdirectory of
the ports tree if it is not found. It will also see if an the ports tree if it is not found. It will also see if an
executable called <command>wish8.0</command> is in the search executable called <command>xmlcatmgr</command> is in the search
path, and descend into the <filename>x11-toolkits/tk80</filename> path, and descend into the <filename>textproc/xmlcatmgr</filename>
subdirectory of your ports tree to build and install it if it is subdirectory of your ports tree to build and install it if it is
not found.</para> not found.</para>