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/dracmail | |
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/dracmail')
-rw-r--r-- | mail/dracmail/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/mail/dracmail/Makefile b/mail/dracmail/Makefile index 0f73f2418c2f..e2a8bfe586a8 100644 --- a/mail/dracmail/Makefile +++ b/mail/dracmail/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: dracmail -# Date created: 14 January 2011 -# Whom: jamrich.majo@gmail.com -# +# Created by: jamrich.majo@gmail.com # $FreeBSD$ -# PORTNAME= dracmail PORTVERSION= 0.1.2 @@ -26,19 +22,18 @@ PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message SUB_FILES= pkg-message PLIST_DIRSTRY= %%WWWDIR%% -OPTIONS= POSTGRE "Use PostgreSQL Database" off \ - APACHE "Use Apache webserver" on \ - LIGHTTPD "Use Lighttpd webserver" off +OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD +OPTIONS_DEFAULT= APACHE .include <bsd.port.options.mk> -.if defined(WITH_POSTGRE) +.if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pgsql .endif -.if defined(WITH_APACHE) +.if ${PORT_OPTIONS:MAPACHE} USE_APACHE_RUN= 22 .endif -.if defined(WITH_LIGHTTPD) +.if ${PORT_OPTIONS:MLIGHTTPD} RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd .endif |