From 20ab3a92d756fe251451912e0fa9b0058fc0cfac Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 28 Jun 2016 16:27:03 +0000 Subject: [PATCH] Follow the USE-ification of USES=php. Reviewed by: wblock Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7007 --- .../porters-handbook/special/chapter.xml | 80 +---------- .../books/porters-handbook/uses/chapter.xml | 124 +++++++++++++++++- 2 files changed, 123 insertions(+), 81 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml index b0632a5a43..9473f40b0d 100644 --- a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -3440,84 +3440,8 @@ do-install: PHP PHP web applications declare - their dependency on it with USES=php. - Variables are used to specify which - PHP modules are required. - - - Variables for Ports That Use PHP - - - - - USE_PHP - The list of required PHP extensions. Example: - pcre xml gettext - - - - DEFAULT_PHP_VER - Selects which major version of PHP will be - installed as a dependency when no PHP is installed - yet. Default is 5. Possible - values: 4, - 5 - - - - IGNORE_WITH_PHP - The port does not work with PHP of the given - version. Possible values: 4, - 5 - - - - USE_PHPIZE - The port will be built as a PHP - extension. - - - - USE_PHPEXT - The port will be treated as a PHP extension, - including installation and registration in the - extension registry. - - - - USE_PHP_BUILD - Set PHP as a build dependency. - - - - WANT_PHP_CLI - Want the CLI (command line) version of - PHP. - - - - WANT_PHP_CGI - Want the CGI version of PHP. - - - - WANT_PHP_MOD - Want the Apache module version of PHP. - - - - WANT_PHP_SCR - Want the CLI or the CGI version of PHP. - - - - WANT_PHP_WEB - Want the Apache module or the CGI version of - PHP. - - - -
+ their dependency on it with USES=php. See + for more information. diff --git a/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml index 21ab50b619..7716bed3b3 100644 --- a/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml @@ -1725,10 +1725,128 @@ USE_MATE= menus:build intlhack <literal>php</literal> - Possible arguments: (none) + Possible arguments: (none), phpize, + ext, zend, + build, cli, + cgi, mod, + web, embed - Provide support for PHP. See - for more information. + Provide support for PHP. Add a + runtime dependency on the default PHP version, lang/php56. + + + + phpize + + Use to build a PHP + extension. + + + + + ext + + Use to build, install and register a + PHP extension. + + + + + zend + + Use to build, install and register a Zend + extension. + + + + + build + + Set PHP also as a + build-time dependency. + + + + + cli + + Needs the CLI version of + PHP. + + + + + cgi + + Needs the CGI version of + PHP. + + + + + mod + + Needs the Apache module for + PHP. + + + + + web + + Needs the Apache module or + the CGI version of + PHP. + + + + + embed + + Needs the embedded library version of + PHP. + + + + + Variables are used to specify which + PHP modules are required, as well as + which version of PHP are + supported. + + + + USE_PHP + + The list of required PHP + extensions. Example: pcre xml + gettext + + + + + DEFAULT_PHP_VER + + Selects which major version of + PHP will be installed as a + dependency when no PHP is + installed yet. Default is 56. + Possible values: 55, + 56, and 7. + + + + + IGNORE_WITH_PHP + + The port does not work with + PHP of the given version. + Possible values: 55, + 56, and 7. + + +