Document USES=horde. Fix a typo in USES=pear.

Differential Revision:	https://reviews.freebsd.org/D878
Approved by:	bcr, bapt
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-10-01 14:15:48 +00:00
parent 9d62c3b577
commit 738e1bc861
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45703
2 changed files with 62 additions and 1 deletions

View file

@ -2674,6 +2674,54 @@ USES= pear
.include &lt;bsd.port.mk&gt;</programlisting>
</example>
<sect3 xml:id="php-horde">
<title><application>Horde</application> Modules</title>
<para>In the same way, porting
<application>Horde</application> modules is a simple
process.</para>
<para>Add <literal>USES=horde</literal> to the port's
<filename>Makefile</filename>. The framework will install
the relevant files in the right places and automatically
generate the plist at install time.</para>
<para>The <varname>USE_HORDE_BUILD</varname> and
<varname>USE_HORDE_RUN</varname> variables can be used to
add buildtime and runtime dependencies on other
<application>Horde</application> modules. See
<filename>Mk/Uses/horde.mk</filename> for a complete list of
available modules.</para>
<example xml:id="horde-Makefile">
<title>Example Makefile for <application>Horde</application>
Module</title>
<programlisting>PORTNAME= Horde_Core
PORTVERSION= 2.14.0
CATEGORIES= devel www pear
MAINTAINER= horde@FreeBSD.org
COMMENT= Horde Core Framework libraries
OPTIONS_DEFINE= KOLAB SOCKETS
KOLAB_DESC= Enable Kolab server support
SOCKETS_DESC= Depend on sockets PHP extension
USES= horde
USE_PHP= session
USE_HORDE_BUILD= Horde_Role
USE_HORDE_RUN= Horde_Role Horde_History Horde_Pack \
Horde_Text_Filter Horde_View
KOLAB_USE= HORDE_RUN=Horde_Kolab_Server,Horde_Kolab_Session
SOCKETS_USE= PHP=sockets
.include &lt;bsd.port.mk&gt;</programlisting>
</example>
</sect3>
</sect2>
</sect1>

View file

@ -571,6 +571,19 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssapi</programlisting>
</example></entry>
</row>
<row xml:id="uses-horde">
<entry><literal>horde</literal></entry>
<entry>(none)</entry>
<entry>Add buildtime and runtime dependencies on <package
role="port">devel/pear-channel-horde</package>. Other
<application>Horde</application> dependencies can be added
with <varname>USE_HORDE_BUILD</varname> and
<varname>USE_HORDE_RUN</varname>. See <xref
linkend="php-horde"/> for more information.</entry>
</row>
<row xml:id="uses-iconv">
<entry><literal>iconv</literal></entry>
@ -820,7 +833,7 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssapi</programlisting>
behavior for software using the
<application>PHP</application> Extension and Application
Repository. See <xref linkend="php-pear"/> for more
informations.</entry>
information.</entry>
</row>
<row xml:id="uses-perl5">