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> + + + <application>Horde</application> Modules + + In the same way, porting + Horde modules is a simple + process. + + Add USES=horde to the port's + Makefile. The framework will install + the relevant files in the right places and automatically + generate the plist at install time. + + The USE_HORDE_BUILD and + USE_HORDE_RUN variables can be used to + add buildtime and runtime dependencies on other + Horde modules. See + Mk/Uses/horde.mk for a complete list of + available modules. + + + Example Makefile for <application>Horde</application> + Module + + 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> + + 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 @@ + + horde + + (none) + + Add buildtime and runtime dependencies on devel/pear-channel-horde. Other + Horde dependencies can be added + with USE_HORDE_BUILD and + USE_HORDE_RUN. See for more information. + + iconv @@ -820,7 +833,7 @@ behavior for software using the PHP Extension and Application Repository. See for more - informations. + information.