diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-01 23:18:19 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-01 23:18:19 +0000 |
commit | fa697548c6e992c6b84cb15fcab33c7038e405a7 (patch) | |
tree | fc1da988ed9c9cba707cf220721bac89300d0c78 /mail/dracmail | |
parent | aed1a8bb785780fbecb2c74bdc17b7b1b54133a3 (diff) | |
download | ports-fa697548c6e992c6b84cb15fcab33c7038e405a7.tar.gz ports-fa697548c6e992c6b84cb15fcab33c7038e405a7.zip |
Convert to new options framework
Notes
Notes:
svn path=/head/; revision=319615
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 |