Page MenuHomeFreeBSD

D878.id1852.diff
No OneTemporary

D878.id1852.diff

Index: en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
@@ -2674,6 +2674,54 @@
.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 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>
Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -571,6 +571,19 @@
</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 @@
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">

File Metadata

Mime Type
text/plain
Expires
Sun, May 24, 3:04 AM (22 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33462857
Default Alt Text
D878.id1852.diff (2 KB)

Event Timeline