aboutsummaryrefslogtreecommitdiff
path: root/deskutils/surrealtodo
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 06:44:14 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 06:44:14 +0000
commit954c1faffa55fcd3510c0a9967b8ac3001df353f (patch)
tree1c9b8a5b68b507ef2c36d35139fd2f7f6ca62eec /deskutils/surrealtodo
parentdb910bd9bb965021951c265e586776e2b4123879 (diff)
downloadports-954c1faffa55fcd3510c0a9967b8ac3001df353f.tar.gz
ports-954c1faffa55fcd3510c0a9967b8ac3001df353f.zip
Notes
Diffstat (limited to 'deskutils/surrealtodo')
-rw-r--r--deskutils/surrealtodo/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/deskutils/surrealtodo/Makefile b/deskutils/surrealtodo/Makefile
index ad184e7c53fa..f12353175e88 100644
--- a/deskutils/surrealtodo/Makefile
+++ b/deskutils/surrealtodo/Makefile
@@ -25,19 +25,19 @@ 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
+LIGHTTPD_DESC= Use Lighttpd webserver
.include <bsd.port.options.mk>
-.if defined(WITH_POSTGRE)
+.if ${PORT_OPTIONS:MPOSTGRE}
USE_PHP+= pgsql
.endif
-.if defined(WITH_APACHE)
+.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE= 22
.endif
-.if defined(WITH_LIGHTTPD)
+.if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif