From owner-svn-doc-all@freebsd.org Sun Dec 20 16:43:49 2015 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 994C2A4E149; Sun, 20 Dec 2015 16:43:49 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CAE4121A; Sun, 20 Dec 2015 16:43:49 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBKGhmJ5097345; Sun, 20 Dec 2015 16:43:48 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBKGhmLZ097343; Sun, 20 Dec 2015 16:43:48 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201512201643.tBKGhmLZ097343@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Sun, 20 Dec 2015 16:43:48 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47897 - in head/en_US.ISO8859-1/books/porters-handbook: plist special X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2015 16:43:49 -0000 Author: mat Date: Sun Dec 20 16:43:48 2015 New Revision: 47897 URL: https://svnweb.freebsd.org/changeset/doc/47897 Log: Change the wording to push people to use variables directly and not the %%FOO%% constructs in PLIST_FILES. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Sun Dec 20 15:45:07 2015 (r47896) +++ head/en_US.ISO8859-1/books/porters-handbook/plist/chapter.xml Sun Dec 20 16:43:48 2015 (r47897) @@ -97,11 +97,13 @@ OPTIONS_SUB= yes PLIST_DIRS. The value of each variable is regarded as a list of pathnames to write to TMPPLIST along with - PLIST contents. Names listed in + PLIST contents. While names listed in PLIST_FILES and PLIST_DIRS are subject to %%VAR%% - substitution as described above. Except for that, names from + substitution as described above, it is better to use the + ${VAR} directly. + Except for that, names from PLIST_FILES will appear in the final packing list unchanged, while @dir will be prepended to names from Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Sun Dec 20 15:45:07 2015 (r47896) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Sun Dec 20 16:43:48 2015 (r47897) @@ -3178,7 +3178,7 @@ USE_QT4= moc_build qmake_build rcc_build the name of the JAR file installed as part of the port): - PLIST_FILES+= %%JAVAJARDIR%%/myport.jar + PLIST_FILES+= ${JAVAJARDIR}/myport.jar When porting a Java application, the port usually installs everything under a single directory (including its