diff options
Diffstat (limited to 'mail/extmail/Makefile')
-rw-r--r-- | mail/extmail/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/mail/extmail/Makefile b/mail/extmail/Makefile index a5e9b720a802..9973f1743704 100644 --- a/mail/extmail/Makefile +++ b/mail/extmail/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: extmail -# Date created: 31 Frebruary 2006 -# Whom: Chifeng QU <chifeng@gmail.com> -# +# Created by: Chifeng QU <chifeng@gmail.com> # $FreeBSD$ -# PORTNAME= extmail PORTVERSION= 1.2 @@ -20,15 +16,15 @@ RUN_DEPENDS= p5-Unix-Syslog>=0:${PORTSDIR}/sysutils/p5-Unix-Syslog USE_PERL5= yes NO_BUILD= yes -OPTIONS= MYSQL "Use MySQL support" On \ - LDAP "Use LDAP support" Off +OPTIONS_DEFINE= MYSQL LDAP +OPTIONS_DEFAULT= MYSQL -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql .endif -.if defined(WITH_LDAP) +.if ${PORT_OPTIONS:MLDAP} RUN_DEPENDS+= p5-DBD-LDAP>=0:${PORTSDIR}/databases/p5-DBD-LDAP .endif @@ -63,4 +59,4 @@ post-install: ${CHMOD} +w ${WWWDIR}/webmail.cf ; \ fi -.include <bsd.port.post.mk> +.include <bsd.port.mk> |