svn commit: r45703 - in head/en_US.ISO8859-1/books/porters-handbook: special uses
Mathieu Arnold
mat at FreeBSD.org
Wed Oct 1 14:15:49 UTC 2014
Author: mat (ports committer)
Date: Wed Oct 1 14:15:48 2014
New Revision: 45703
URL: https://svnweb.freebsd.org/changeset/doc/45703
Log:
Document USES=horde. Fix a typo in USES=pear.
Differential Revision: https://reviews.freebsd.org/D878
Approved by: bcr, bapt
Sponsored by: Absolight
Modified:
head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Oct 1 04:00:08 2014 (r45702)
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Oct 1 14:15:48 2014 (r45703)
@@ -2674,6 +2674,54 @@ USES= pear
.include <bsd.port.mk></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 at 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 <bsd.port.mk></programlisting>
+ </example>
+ </sect3>
</sect2>
</sect1>
Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Wed Oct 1 04:00:08 2014 (r45702)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Wed Oct 1 14:15:48 2014 (r45703)
@@ -571,6 +571,19 @@ GSSAPI_NONE_CONFIGURE_ON= --without-gssa
</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-gssa
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">
More information about the svn-doc-head
mailing list