svn commit: r49019 - in head/en_US.ISO8859-1/books/porters-handbook: special uses

Mathieu Arnold mat at FreeBSD.org
Tue Jun 28 16:27:04 UTC 2016


Author: mat
Date: Tue Jun 28 16:27:03 2016
New Revision: 49019
URL: https://svnweb.freebsd.org/changeset/doc/49019

Log:
  Follow the USE-ification of USES=php.
  
  Reviewed by:	wblock
  Sponsored by:	Absolight
  Differential Revision:	https://reviews.freebsd.org/D7007

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
  head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml	Tue Jun 28 16:06:59 2016	(r49018)
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml	Tue Jun 28 16:27:03 2016	(r49019)
@@ -3440,84 +3440,8 @@ do-install:
       <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">

Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Tue Jun 28 16:06:59 2016	(r49018)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Tue Jun 28 16:27:03 2016	(r49019)
@@ -1725,10 +1725,128 @@ USE_MATE=	menus:build intlhack</programl
   <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>Needs the CLI version of
+	    <application>PHP</application>.</para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><literal>cgi</literal></term>
+	<listitem>
+	  <para>Needs the CGI version of
+	    <application>PHP</application>.</para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><literal>mod</literal></term>
+	<listitem>
+	  <para>Needs the <application>Apache</application> module for
+	    <application>PHP</application>.</para>
+	</listitem>
+      </varlistentry>
+
+      <varlistentry>
+	<term><literal>web</literal></term>
+	<listitem>
+	  <para>Needs 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>Needs 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">


More information about the svn-doc-all mailing list