aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/surrealtodo
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-12 14:44:14 +0800
committerbapt <bapt@FreeBSD.org>2012-06-12 14:44:14 +0800
commit45cea71f5d1bd41b46584324ccf678407206854f (patch)
tree15b3dcd4fc313a25650dbcfaf8012ed187416aca /deskutils/surrealtodo
parentd4a2fb9e06a4196b79fed7e538f20a9bea4b5f09 (diff)
downloadfreebsd-ports-gnome-45cea71f5d1bd41b46584324ccf678407206854f.tar.gz
freebsd-ports-gnome-45cea71f5d1bd41b46584324ccf678407206854f.tar.zst
freebsd-ports-gnome-45cea71f5d1bd41b46584324ccf678407206854f.zip
Convert to new options framework
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