diff options
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 |