Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 15:03:29 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r51690 - head/en_US.ISO8859-1/books/porters-handbook/quick-porting
Message-ID:  <201805211503.w4LF3TCr023022@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon May 21 15:03:28 2018
New Revision: 51690
URL: https://svnweb.freebsd.org/changeset/doc/51690

Log:
  Stop telling people they cannot do things that work just fine.
  
  Sponsored by:	Absolight

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml	Mon May 21 13:31:58 2018	(r51689)
+++ head/en_US.ISO8859-1/books/porters-handbook/quick-porting/chapter.xml	Mon May 21 15:03:28 2018	(r51690)
@@ -209,15 +209,14 @@ lib/X11/oneko/mouse.xpm</programlisting>
 	  for more information.</para>
       </tip>
 
-      <para>The price for this way of listing a port's files and
-	directories is that the keywords described in
-	&man.pkg-create.8; and <xref linkend="plist-keywords"/> cannot
-	be used.  Therefore, it is suitable
-	only for simple ports and makes them even simpler.  At the
-	same time, it has the advantage of reducing the number of
-	files in the ports collection.  Please consider using this
-	technique before resorting to
-	<filename>pkg-plist</filename>.</para>
+      <tip>
+	<para>As <varname>PLIST_FILES</varname> is a make variable,
+	  any entry with spaces must be quoted.  For example, if using
+	  keywords described in &man.pkg-create.8; and <xref
+	    linkend="plist-keywords"/>, the entry must be quoted.</para>
+
+	<programlisting>PLIST_FILES=	"@sample ${ETCDIR}/oneko.conf.sample"</programlisting>
+      </tip>
 
       <para>Later we will see how <filename>pkg-plist</filename>
 	and <varname>PLIST_FILES</varname> can be used to fulfill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805211503.w4LF3TCr023022>