pkgsrc/mail/ingo/options.mk

34 lines
816 B
Makefile

# $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