diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-12 14:44:14 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-12 14:44:14 +0800 |
commit | 45cea71f5d1bd41b46584324ccf678407206854f (patch) | |
tree | 15b3dcd4fc313a25650dbcfaf8012ed187416aca /deskutils/surrealtodo | |
parent | d4a2fb9e06a4196b79fed7e538f20a9bea4b5f09 (diff) | |
download | freebsd-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/Makefile | 12 |
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 |