Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153110237
D7007.id17975.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
6 KB
Referenced Files
None
Subscribers
None
D7007.id17975.diff
View Options
Index: en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
@@ -3440,84 +3440,8 @@
<title>PHP</title>
<para><application>PHP</application> web applications declare
- their dependency on it with <literal>USES=php</literal>.
- Variables are used to specify which
- <application>PHP</application> modules are required.</para>
-
- <table frame="none" xml:id="using-php-variables">
- <title>Variables for Ports That Use PHP</title>
-
- <tgroup cols="2">
- <tbody>
- <row>
- <entry><varname>USE_PHP</varname></entry>
- <entry>The list of required PHP extensions. Example:
- <literal>pcre xml gettext</literal></entry>
- </row>
-
- <row>
- <entry><varname>DEFAULT_PHP_VER</varname></entry>
- <entry>Selects which major version of PHP will be
- installed as a dependency when no PHP is installed
- yet. Default is <literal>5</literal>. Possible
- values: <literal>4</literal>,
- <literal>5</literal></entry>
- </row>
-
- <row>
- <entry><varname>IGNORE_WITH_PHP</varname></entry>
- <entry>The port does not work with PHP of the given
- version. Possible values: <literal>4</literal>,
- <literal>5</literal></entry>
- </row>
-
- <row>
- <entry><varname>USE_PHPIZE</varname></entry>
- <entry>The port will be built as a PHP
- extension.</entry>
- </row>
-
- <row>
- <entry><varname>USE_PHPEXT</varname></entry>
- <entry>The port will be treated as a PHP extension,
- including installation and registration in the
- extension registry.</entry>
- </row>
-
- <row>
- <entry><varname>USE_PHP_BUILD</varname></entry>
- <entry>Set PHP as a build dependency.</entry>
- </row>
-
- <row>
- <entry><varname>WANT_PHP_CLI</varname></entry>
- <entry>Want the CLI (command line) version of
- PHP.</entry>
- </row>
-
- <row>
- <entry><varname>WANT_PHP_CGI</varname></entry>
- <entry>Want the CGI version of PHP.</entry>
- </row>
-
- <row>
- <entry><varname>WANT_PHP_MOD</varname></entry>
- <entry>Want the Apache module version of PHP.</entry>
- </row>
-
- <row>
- <entry><varname>WANT_PHP_SCR</varname></entry>
- <entry>Want the CLI or the CGI version of PHP.</entry>
- </row>
-
- <row>
- <entry><varname>WANT_PHP_WEB</varname></entry>
- <entry>Want the Apache module or the CGI version of
- PHP.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
+ their dependency on it with <literal>USES=php</literal>. See
+ <xref linkend="uses-php"/> for more information.</para>
</sect2>
<sect2 xml:id="php-pear">
Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -1725,10 +1725,128 @@
<sect1 xml:id="uses-php">
<title><literal>php</literal></title>
- <para>Possible arguments: (none)</para>
+ <para>Possible arguments: (none), <literal>phpize</literal>,
+ <literal>ext</literal>, <literal>zend</literal>,
+ <literal>build</literal>, <literal>cli</literal>,
+ <literal>cgi</literal>, <literal>mod</literal>,
+ <literal>web</literal>, <literal>embed</literal></para>
+
+ <para>Provide support for <application>PHP</application>. Add a
+ runtime dependency on the default PHP version, <package
+ role="port">lang/php56</package>.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><literal>phpize</literal></term>
+ <listitem>
+ <para>Use to build a <application>PHP</application>
+ extension.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>ext</literal></term>
+ <listitem>
+ <para>Use to build, install and register a
+ <application>PHP</application> extension.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>zend</literal></term>
+ <listitem>
+ <para>Use to build, install and register a Zend
+ extension.</para>
+ </listitem>
+ </varlistentry>
- <para>Provide support for <application>PHP</application>. See
- <xref linkend="php-variables"/> for more information.</para>
+ <varlistentry>
+ <term><literal>build</literal></term>
+ <listitem>
+ <para>Set <application>PHP</application> also as a
+ build-time dependency.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>cli</literal></term>
+ <listitem>
+ <para>Want the CLI version of
+ <application>PHP</application>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>cgi</literal></term>
+ <listitem>
+ <para>Want the CGI version of
+ <application>PHP</application>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>mod</literal></term>
+ <listitem>
+ <para>Want the <application>Apache</application> Module for
+ <application>PHP</application>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>web</literal></term>
+ <listitem>
+ <para>Want the <application>Apache</application> Module or
+ the <acronym>CGI</acronym> version of
+ <application>PHP</application>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><literal>embed</literal></term>
+ <listitem>
+ <para>Want the embedded library version of
+ <application>PHP</application>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>Variables are used to specify which
+ <application>PHP</application> modules are required, as well as
+ which version of <application>PHP</application> are
+ supported.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><varname>USE_PHP</varname></term>
+ <listitem>
+ <para>The list of required <application>PHP</application>
+ extensions. Example: <literal>pcre xml
+ gettext</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>DEFAULT_PHP_VER</varname></term>
+ <listitem>
+ <para>Selects which major version of
+ <application>PHP</application> will be installed as a
+ dependency when no <application>PHP</application> is
+ installed yet. Default is <literal>56</literal>.
+ Possible values: <literal>55</literal>,
+ <literal>56</literal>, and <literal>7</literal>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>IGNORE_WITH_PHP</varname></term>
+ <listitem>
+ <para>The port does not work with
+ <application>PHP</application> of the given version.
+ Possible values: <literal>55</literal>,
+ <literal>56</literal>, and <literal>7</literal>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</sect1>
<sect1 xml:id="uses-pkgconfig">
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 5:40 AM (9 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31821621
Default Alt Text
D7007.id17975.diff (6 KB)
Attached To
Mode
D7007: Follow the USE-ification of USES=php.
Attached
Detach File
Event Timeline
Log In to Comment