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

Mathieu Arnold <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: mat
Date: Wed Aug 24 09:21:10 2016
New Revision: 49329
URL: https://svnweb.freebsd.org/changeset/doc/49329

Log:
  Try to follow with ports r420774.
  
  Sponsored by:	Absolight

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	Wed Aug 24 09:14:07 2016	(r49328)
+++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml	Wed Aug 24 09:21:10 2016	(r49329)
@@ -2664,7 +2664,8 @@ USE_QT5=	buildtools_build</programlistin
       <title>KDE 4 Variable Definitions</title>
 
       <para>If the application depends on KDE 4, set
-	<varname>USE_KDE4</varname> to the list of required
+	<literal>USES+=kde:4</literal> and
+	<varname>USE_KDE</varname> to the list of required
 	components.  <literal>_build</literal> and
 	<literal>_run</literal> suffixes can be used to force
 	components dependency type (for example,
@@ -2701,7 +2702,7 @@ USE_QT5=	buildtools_build</programlistin
 	    <row>
 	      <entry><literal>kdeprefix</literal></entry>
 	      <entry>If set, port will be installed into
-		<literal>&dollar;{KDE4_PREFIX}</literal></entry>
+		<literal>&dollar;{KDE_PREFIX}</literal></entry>
 	    </row>
 
 	    <row>
@@ -2818,36 +2819,36 @@ USE_QT5=	buildtools_build</programlistin
       </table>
 
       <para>KDE 4 ports are installed into
-	<varname>KDE4_PREFIX</varname>.  This is
+	<varname>KDE_PREFIX</varname>.  This is
 	achieved by specifying the <literal>kdeprefix</literal>
 	component, which overrides the default
 	<varname>PREFIX</varname>.  The ports, however, respect any
 	<varname>PREFIX</varname> set via the <envar>MAKEFLAGS</envar>
 	environment variable and/or <command>make</command>
-	arguments.  Currently <varname>KDE4_PREFIX</varname>
+	arguments.  Currently <varname>KDE_PREFIX</varname>
 	is identical to the default <varname>PREFIX</varname>,
 	<literal>&dollar;{LOCALBASE}</literal>.</para>
 
       <example xml:id="kde4-components-example">
-	<title><varname>USE_KDE4</varname> Example</title>
+	<title><varname>USE_KDE</varname> Example</title>
 
 	<para>This is a simple example for a KDE 4 port.
 	  <literal>USES= cmake:outsource</literal> instructs the
 	  port to utilize <application>CMake</application>, a
 	  configuration tool widely used by KDE 4 projects (see
 	  <xref linkend="using-cmake"/> for detailed usage).
-	  <varname>USE_KDE4</varname> brings dependency on KDE
+	  <varname>USE_KDE</varname> brings dependency on KDE
 	  libraries and makes port using
 	  <command>automoc4</command> at build stage.
 	  Required KDE components and other dependencies can be
 	  determined through configure log.
-	  <varname>USE_KDE4</varname> does not imply
+	  <varname>USE_KDE</varname> does not imply
 	  <varname>USE_QT4</varname>.  If a port requires some
 	  Qt 4 components, specify them in
 	  <varname>USE_QT4</varname>.</para>
 
-	<programlisting>USES=		cmake:outsource
-USE_KDE4=	kdelibs kdeprefix automoc4
+	<programlisting>USES=		cmake:outsource kde:4
+USE_KDE=	kdelibs kdeprefix automoc4
 USE_QT4=	moc_build qmake_build rcc_build uic_build</programlisting>
       </example>
     </sect2>

Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Wed Aug 24 09:14:07 2016	(r49328)
+++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml	Wed Aug 24 09:21:10 2016	(r49329)
@@ -1275,6 +1275,15 @@ GSSAPI_NONE_CONFIGURE_ON=	--without-gssa
       target, add the <literal>noman</literal> argument.</para>
   </sect1>
 
+  <sect1 xml:id="uses-kde">
+    <title><literal>kde</literal></title>
+
+    <para>Possible arguments: <literal>4</literal></para>
+
+    <para>Add dependency on <application>KDE</application> components.
+      See <xref linkend="using-kde"/> for more information.</para>
+  </sect1>
+
   <sect1 xml:id="uses-kmod">
     <title><literal>kmod</literal></title>
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.