aboutsummaryrefslogtreecommitdiff
path: root/mail/pear-Horde_Imap_Client/Makefile
blob: 7c80f442213b0b33d26eb2be05a347b4a052986d (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
38
39
# $FreeBSD$

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

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

USE_PHP=	hash
USE_HORDE_RUN=	Horde_Exception \
		Horde_Mail \
		Horde_Mime \
		Horde_Stream \
		Horde_Util

OPTIONS_DEFAULT=	IMAP MBSTRING SASL
OPTIONS_DEFINE=		IMAP MBSTRING SASL
IMAP_DESC=	Require PHP imap extension
MBSTRING_DESC=	Require PHP mbstring extension
SASL_DESC=	Support SASL Authentication

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MIMAP}
USE_PHP+=	imap
.endif

.if ${PORT_OPTIONS:MMBSTRING}
USE_PHP+=	mbstring
.endif

.if ${PORT_OPTIONS:MSASL}
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>