Skip to content

Commit

Permalink
Convert to USES=horde
Browse files Browse the repository at this point in the history
Fix pear-Horde_core options
Use options helpers where possible
  • Loading branch information
bapt committed Sep 30, 2014
1 parent b3551f8 commit ea75169
Show file tree
Hide file tree
Showing 99 changed files with 230 additions and 383 deletions.
5 changes: 2 additions & 3 deletions archivers/pear-Horde_Compress/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ OPTIONS_DEFAULT= ZLIB
OPTIONS_DEFINE= ZLIB
ZLIB_DESC= Depend on PHP zlib extension

USES= horde
USE_HORDE_RUN= Horde_Exception \
Horde_Translation \
Horde_Util \
Horde_Stream_Filter

ZLIP_USE= PHP=zlib

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
6 changes: 2 additions & 4 deletions archivers/pear-Horde_Compress_Fast/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ PKGNAMEPREFIX= pear-
MAINTAINER= [email protected]
COMMENT= Horde Fast Compression Library

USE_HORDE_RUN= Horde_Exception
USES= horde

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions archivers/pear-Horde_Pack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ PKGNAMEPREFIX= pear-
MAINTAINER= [email protected]
COMMENT= Horde Pack Utility

USES= horde
USE_HORDE_RUN= Horde_Compress_Fast \
Horde_Exception

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions comms/pear-Horde_ActiveSync/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CATEGORIES= comms www pear
MAINTAINER= [email protected]
COMMENT= Horde ActiveSync Server Library

USES= horde
USE_HORDE_RUN= Horde_Compress \
Horde_Date \
Horde_Exception \
Expand All @@ -17,6 +18,4 @@ USE_HORDE_RUN= Horde_Compress \
Horde_Support \
Horde_Util

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions comms/pear-Horde_SyncMl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CATEGORIES= comms www pear
MAINTAINER= [email protected]
COMMENT= Horde API for processing SyncML requests

USES= horde
USE_HORDE_RUN= Horde_Date \
Horde_Icalendar \
Horde_Log \
Expand All @@ -20,6 +21,4 @@ USE_HORDE_RUN= Horde_Date \
USE_HORDE_RUN+= Horde_Auth \
Horde_Core

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
20 changes: 5 additions & 15 deletions databases/pear-Horde_Db/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,13 @@ MYSQL_DESC= Depend on mysql PHP extension
MYSQLI_DESC= Depend on mysqli PHP extension
PDO_DESC= Depend on PDO PHP extension

USES= horde
USE_HORDE_RUN= Horde_Date \
Horde_Exception \
Horde_Support

.include <bsd.port.pre.mk>
MYSQL_USE= PHP=mysql
MYSQLI_USE= PHP=mysqli
PDO_USE= PHP=pdo

.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= mysql
.endif

.if ${PORT_OPTIONS:MMYSQLI}
USE_PHP+= mysqli
.endif

.if ${PORT_OPTIONS:MPDO}
USE_PHP+= pdo
.endif

.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
10 changes: 3 additions & 7 deletions databases/pear-Horde_HashTable/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ MAINTAINER= [email protected]
COMMENT= Horde Hash Table Interface

OPTIONS_DEFINE= MEMCACHE
USES= horde
USE_HORDE_RUN= Horde_Exception

.include <bsd.port.pre.mk>
MEMCACHE_USE= HORDE_RUN=Horde_Memcache

.if ${PORT_OPTIONS:MMEMCACHE}
USE_HORDE_RUN+= Horde_Memcache
.endif

.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions databases/pear-Horde_Imsp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ CATEGORIES= databases www pear
MAINTAINER= [email protected]
COMMENT= Horde IMSP API

USES= horde
USE_HORDE_RUN= Horde_Translation

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions databases/pear-Horde_Memcache/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ CATEGORIES= databases www pear
MAINTAINER= [email protected]
COMMENT= Horde Memcache API

USES= horde
USE_PHP= memcache hash
USE_HORDE_RUN= Horde_Exception

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions databases/pear-Horde_Mongo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ PKGNAMEPREFIX= pear-
MAINTAINER= [email protected]
COMMENT= Horde Mongo Configuration

USES= horde
#RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/mongo.so:${PORTSDIR}/databases/pecl-mongo

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Alarm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= PEAR Horde alarm libraries

USES= horde
USE_HORDE_RUN= Horde_Date Horde_Exception Horde_Translation

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Argv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde command-line argument parsing package

USES= horde
USE_HORDE_RUN= Horde_Exception Horde_Translation

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/pear-Horde_Autoloader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Autoloader

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
USES= horde

.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Autoloader_Cache/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Autoloader Cache

USES= horde
USE_HORDE_RUN= Horde_Autoloader
USE_PHP= json

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
12 changes: 4 additions & 8 deletions devel/pear-Horde_Cache/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ COMMENT= Horde Caching API

OPTIONS_DEFINE= APC
APC_DESC= Require APC PHP extension


USES= horde
USE_HORDE_RUN= Horde_Compress_Fast \
Horde_Exception \
Horde_HashTable \
Horde_Util
USE_PHP= hash

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MAPC}
USE_PHP+= apc
.endif
APC_USE= PHP=apc

.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Command Line Interface API

USES= horde
USE_HORDE_RUN= Horde_Support Horde_Translation

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/pear-Horde_Constraint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Constraint library

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
USES= horde

.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Controller libraries

USES= horde
USE_HORDE_RUN= Horde_Exception \
Horde_Injector \
Horde_Log \
Horde_Support \
Horde_Util

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
24 changes: 6 additions & 18 deletions devel/pear-Horde_Core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ COMMENT= Horde Core Framework libraries

CONFLICTS= horde-3*

OPTONS_DEFINE= KOLAB LZF SOCKETS
OPTIONS_DEFINE= KOLAB LZF SOCKETS
KOLAB_DESC= Enable Kolab server support
LZF_DESC= Depend on lzf PHP extension
SOCKETS_DESC= Depend on sockets PHP extension

USES= horde
USE_PHP= session

USE_HORDE_BUILD= Horde_Role
Expand Down Expand Up @@ -66,21 +67,8 @@ USE_HORDE_RUN= Horde_Role \
# Not required but wanted
USE_HORDE_RUN+= Horde_Routes

.include <bsd.port.pre.mk>
KOLAB_USE= HORDE_RUN=Horde_Kolab_Server,Horde_Kolab_Session,Horde_Kolab_Storage
LZF_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/lzf.so:${PORTSDIR}/archivers/pecl-lzf
SOCKETS_USE= PHP=sockets

.if defined(WITH_KOLAB)
USE_HORDE_RUN+= Horde_Kolab_Server \
Horde_Kolab_Session \
Horde_Kolab_Storage
.endif

.if ${PORT_OPTIONS:MLZF}
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/lzf.so:${PORTSDIR}/archivers/pecl-lzf
.endif

.if ${PORT_OPTIONS:MSOCKETS}
USE_PHP+= sockets
.endif

.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Data API

USES= horde
USE_HORDE_RUN= Horde_Browser \
Horde_Exception \
Horde_Icalendar \
Expand All @@ -16,6 +17,4 @@ USE_HORDE_RUN= Horde_Browser \
Horde_Translation \
Horde_Util

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Date/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Date package

USES= horde
USE_HORDE_RUN= Horde_Exception \
Horde_Nls \
Horde_Translation

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Date_Parser/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Date Parser

USES= horde
USE_HORDE_RUN= Horde_Date \
Horde_Support

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Exception/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde Exception Handler

USES= horde
USE_HORDE_RUN= Horde_Translation

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_History/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde API for tracking the history of an object

USES= horde
USE_HORDE_RUN= Horde_Db \
Horde_Exception

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Icalendar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde iCalendar API

USES= horde
USE_HORDE_RUN= Horde_Date \
Horde_Exception \
Horde_Mail \
Expand All @@ -15,6 +16,4 @@ USE_HORDE_RUN= Horde_Date \
Horde_Translation \
Horde_Util

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Injector/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde dependency injection container

USES= horde
USE_HORDE_RUN= Horde_Exception

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
5 changes: 2 additions & 3 deletions devel/pear-Horde_Itip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ CATEGORIES= devel www pear
MAINTAINER= [email protected]
COMMENT= Horde iTip invitation response handling

USES= horde
USE_HORDE_RUN= Horde_Icalendar \
Horde_Mime

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk"
.include <bsd.port.post.mk>
.include <bsd.port.mk>
Loading

0 comments on commit ea75169

Please sign in to comment.