Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157530245
D878.id1853.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D878.id1853.diff
View Options
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 <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@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>
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
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 11:50 AM (7 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33433461
Default Alt Text
D878.id1853.diff (2 KB)
Attached To
Mode
D878: Document USES=horde
Attached
Detach File
Event Timeline
Log In to Comment