diff options
author | rene <rene@FreeBSD.org> | 2013-01-28 06:30:14 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-01-28 06:30:14 +0800 |
commit | 10292a0542ad666077b6050327b2d446ab3751fd (patch) | |
tree | e411cf15ad807fbb48bb8871edaff406f0184555 /deskutils | |
parent | bc1587889a1c632b77b37389912455c03957e03b (diff) | |
download | freebsd-ports-gnome-10292a0542ad666077b6050327b2d446ab3751fd.tar.gz freebsd-ports-gnome-10292a0542ad666077b6050327b2d446ab3751fd.tar.zst freebsd-ports-gnome-10292a0542ad666077b6050327b2d446ab3751fd.zip |
Convert to optionsNG
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/myitcrm/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/deskutils/myitcrm/Makefile b/deskutils/myitcrm/Makefile index b9b03a31503e..7c616af614f5 100644 --- a/deskutils/myitcrm/Makefile +++ b/deskutils/myitcrm/Makefile @@ -25,26 +25,26 @@ PORTEXAMPLES= htaccess.txt PORTDOCS= changelog.txt README.textile USE_DOS2UNIX= yes -OPTIONS= APACHE "Use Apache webserver" on \ - PHPMOD "Use php module for Apache" off \ - LIGHTTPD "Use Lighttpd webserver" off \ - NGINX "Use Nginx" off +OPTIONS_DEFINE= APACHE PHPMOD LIGHTTPD NGINX +OPTIONS_DEFAULT= APACHE +PHPMOD_DESC= Use PHP module for Apache +NGINX_DESC= Use Nginx .include <bsd.port.options.mk> -.if defined(WITH_PHPMOD) +.if ${PORT_OPTIONS:MPHPMOD} WANT_PHP_MOD= yes .else WANT_PHP_CGI= yes .endif -.if !defined(WITHOUT_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 -.if defined(WITH_NGINX) +.if ${PORT_OPTIONS:MNGINX} RUN_DEPENDS+= nginx:${PORTSDIR}/www/nginx .endif @@ -72,18 +72,18 @@ do-install: @${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${ent} @${CHMOD} u+w ${WWWDIR}/${ent} .endfor -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} .for ex in ${PORTEXAMPLES} @${INSTALL_DATA} ${WRKSRC}/${ex} ${EXAMPLESDIR} .endfor -.endif # NOPORTEXAMPLES -.if !defined(NOPORTDOCS) +.endif # PORTEXAMPLES +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor -.endif #NOPORTDOCS +.endif # PORTDOCS post-install: @${CAT} ${PKGMESSAGE} |