Update the porters handbook with information about the new USE_PKGCONFIG

Makefile macro.

Submitted by:	bapt (via IRC) (small fixes from me and joel)
Approved by:	joel (mentor)
This commit is contained in:
Niclas Zeising 2012-07-26 11:31:15 +00:00
parent 82b11d4b3e
commit fcff74d3b7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39267

View file

@ -5492,6 +5492,45 @@ IGNORE= may not be redistributed because of licensing reasons. Please visit <rep
</sect2>
</sect1>
<sect1 id="using-pkg-config">
<title>Using <literal>pkg-config</literal></title>
<para>If your ports requires <literal>pkg-config</literal>,
just set <makevar>USE_PKGCONFIG</makevar> to the following
possible values:</para>
<table frame="none">
<title>Values for <makevar>USE_PKGCONFIG</makevar></title>
<tgroup cols="2">
<thead>
<row>
<entry>Definition</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><makevar>USE_PKGCONFIG= yes</makevar></entry>
<entry>The ports uses pkg-config only at build time</entry>
</row>
<row>
<entry><makevar>USE_PKGCONFIG= build</makevar></entry>
<entry>The ports uses pkg-config only at build time</entry>
</row>
<row>
<entry><makevar>USE_PKGCONFIG= run</makevar></entry>
<entry>The ports uses pkg-config only at run time</entry>
</row>
<row>
<entry><makevar>USE_PKGCONFIG= both</makevar></entry>
<entry>The ports uses pkg-config both at build and run time</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="using-gettext">
<title>Using GNU <literal>gettext</literal></title>