summaryrefslogtreecommitdiff
path: root/mail/ingo/options.mk
blob: dcb5eabe4ee25eec76dafaecd4fd9c61ad3496e7 (plain)
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
# $NetBSD: options.mk,v 1.5 2006/08/11 16:32:21 adrianp Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ingo
PKG_SUPPORTED_OPTIONS=	sieve imap maildrop procmail

.include "../../mk/bsd.options.mk"

###
### Bring in support for the sieve filtering language
###
.if !empty(PKG_OPTIONS:Msieve)
DEPENDS+=	${PHP_PKG_PREFIX}-pear-Net_Sieve>=1.0.0:../../net/pear-Net_Sieve
.endif

###
### Bring in support for an IMAP server
###
.if !empty(PKG_OPTIONS:Mimap)
DEPENDS+=	${PHP_PKG_PREFIX}-imap>4.3.3:../../mail/php-imap
.endif

###
### maildrop support needs the PHP FTP extension
###
.if !empty(PKG_OPTIONS:Mmaildrop)
DEPENDS+=	${PHP_PKG_PREFIX}-ftp>4.3.3:../../net/php-ftp
.endif

###
### procmail support needs the PHP FTP extension
###
.if !empty(PKG_OPTIONS:Mprocmail)
DEPENDS+=	${PHP_PKG_PREFIX}-ftp>4.3.3:../../net/php-ftp
.endif