deskutils: Convert to USES=php
- While here convert some USE_APACHE Approved by: infrastructure modernization blanket
This commit is contained in:
parent
73e4c3e15f
commit
af825c6f3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466792
@ -18,9 +18,7 @@ USE_PHP= curl \
|
||||
session \
|
||||
xml
|
||||
|
||||
USES= gettext
|
||||
|
||||
WANT_PHP_MOD= yes
|
||||
USES= gettext php:mod
|
||||
|
||||
OPTIONS_DEFINE= ADDONS NLS
|
||||
OPTIONS_SINGLE= DB
|
||||
@ -32,7 +30,7 @@ OPTIONS_SUB= yes
|
||||
NLS_USES= gettext
|
||||
PGSQL_USES= pgsql
|
||||
WANT_PGSQL= server
|
||||
MYSQL_USE= MYSQL=server
|
||||
MYSQL_USES= mysql:server
|
||||
|
||||
ADDONS_DISTFILES= ${PORTNAME}-addons-${PORTVERSION}${EXTRACT_SUFX}
|
||||
NO_BUILD= yes
|
||||
|
@ -30,16 +30,16 @@ OPTIONS_DEFAULT= APACHE
|
||||
PHPMOD_DESC= Use PHP module for Apache
|
||||
NGINX_DESC= Use Nginx
|
||||
|
||||
APACHE_USE= APACHE_RUN=22+
|
||||
APACHE_USES= apache:run,2.2+
|
||||
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
|
||||
NGINX_RUN_DEPENDS= nginx:www/nginx
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPHPMOD}
|
||||
WANT_PHP_MOD= yes
|
||||
USES+= php:mod
|
||||
.else
|
||||
WANT_PHP_CGI= yes
|
||||
USES+= php:cgi
|
||||
.endif
|
||||
|
||||
# Set files to ignore.
|
||||
|
@ -13,7 +13,7 @@ COMMENT= Professional Open Source Groupware and CRM
|
||||
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= tar:bzip2 gettext
|
||||
USES= gettext mysql php:web tar:bzip2
|
||||
NO_BUILD= yes
|
||||
EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions -C ${WRKSRC}
|
||||
|
||||
@ -23,10 +23,8 @@ SUB_LIST= DISTNAME=${DISTNAME}
|
||||
OPTIONS_DEFINE= LDAP MEMCACHE
|
||||
MEMCACHE_DESC= Enable pecl-memcache support
|
||||
|
||||
USE_MYSQL= yes
|
||||
USE_PHP= ctype dom gd iconv json mcrypt pdo_mysql simplexml \
|
||||
spl xml zip
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
LDAP_USE= php=ldap
|
||||
MEMCACHE_USE= php=memcache
|
||||
|
Loading…
Reference in New Issue
Block a user