diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-02 07:18:19 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-02 07:18:19 +0800 |
commit | bb2507ee9768f7dbf5718c5e592ffd6fc3c1d831 (patch) | |
tree | fc1da988ed9c9cba707cf220721bac89300d0c78 /mail/extmail | |
parent | c58a15df775d75a040a08e6253d56a8e8b74044a (diff) | |
download | freebsd-ports-gnome-bb2507ee9768f7dbf5718c5e592ffd6fc3c1d831.tar.gz freebsd-ports-gnome-bb2507ee9768f7dbf5718c5e592ffd6fc3c1d831.tar.zst freebsd-ports-gnome-bb2507ee9768f7dbf5718c5e592ffd6fc3c1d831.zip |
Convert to new options framework
Diffstat (limited to 'mail/extmail')
-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> |