aboutsummaryrefslogtreecommitdiff
path: root/mail/pear-Horde_Imap_Client/Makefile
blob: b58818f611ea7f3524a20469dd1f7ea5125122c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Ports collection makefile for:  pear-Horde_Imap_Client
# Date created:			  6 July 2011
# Whom:				  Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	Horde_Imap_Client
PORTVERSION=	1.5.5
CATEGORIES=	mail www pear
PKGNAMEPREFIX=	pear-

MAINTAINER=	horde@FreeBSD.org
COMMENT=	Horde IMAP abstraction interface

OPTIONS=	IMAP "Require PHP imap extension" On \
		MBSTRING "Require PHP mbstring extension" On \
		SASL "Support SASL Authentication" On

USE_PHP=	hash
USE_HORDE_RUN=	Horde_Exception Horde_Mime Horde_Util

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_IMAP)
USE_PHP+=	imap
.endif

.if !defined(WITHOUT_MBSTRING)
USE_PHP+=	mbstring
.endif

.if !defined(WITHOUT_SASL)
RUN_DEPENDS+=	${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL
.endif

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