From owner-svn-doc-head@FreeBSD.ORG Tue Oct 29 17:26:59 2013 Return-Path: Delivered-To: svn-doc-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DC0C2B05; Tue, 29 Oct 2013 17:26:59 +0000 (UTC) (envelope-from kaduk@mit.edu) Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu [18.7.68.35]) by mx1.freebsd.org (Postfix) with ESMTP id 59FA72726; Tue, 29 Oct 2013 17:26:58 +0000 (UTC) X-AuditID: 12074423-b7fc98e0000009a2-7a-526feeb069d3 Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 15.56.02466.0BEEF625; Tue, 29 Oct 2013 13:21:52 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id r9THLp5u032080; Tue, 29 Oct 2013 13:21:51 -0400 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r9THLnaY023525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 29 Oct 2013 13:21:50 -0400 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id r9THLmQq012415; Tue, 29 Oct 2013 13:21:48 -0400 (EDT) Date: Tue, 29 Oct 2013 13:21:48 -0400 (EDT) From: Benjamin Kaduk To: Eitan Adler Subject: Re: svn commit: r43055 - head/en_US.ISO8859-1/books/porters-handbook In-Reply-To: <201310281917.r9SJH8Gd097201@svn.freebsd.org> Message-ID: References: <201310281917.r9SJH8Gd097201@svn.freebsd.org> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLIsWRmVeSWpSXmKPExsUixG6norvhXX6QwZ1VXBY/Ph5istj1dw6z xY1F+5ksdvf3MjuweMz4NJ8lgDGKyyYlNSezLLVI3y6BK2PHkdVsBY8kK35eaWZtYLwn2sXI ySEhYCIx/eAlZghbTOLCvfVsXYxcHEIC+xglFnyewgzhbGSUOL6hiRHCOcQk0f/iPBOE08Ao cfLZLTaQfhYBbYk7x7azgNhsAioSM99sBIuLANnf9/9kArGZBaIk9ixtZO1i5OAQFvCXuP3M HSTMKWAlsWLVaUaQMK+Ag8TXfj+QsJCApcTnHT/ApogK6Eis3j8FbDqvgKDEyZlPWCAmWkqc +3OdbQKj4CwkqVlIUgsYmVYxyqbkVunmJmbmFKcm6xYnJ+blpRbpmunlZpbopaaUbmIEh6yL 8g7GPweVDjEKcDAq8fAaPMgPEmJNLCuuzD3EKMnBpCTKy/sWKMSXlJ9SmZFYnBFfVJqTWnyI UYKDWUmEd/pxoBxvSmJlVWpRPkxKmoNFSZz3Fod9kJBAemJJanZqakFqEUxWhoNDSYJ3KchQ waLU9NSKtMycEoQ0EwcnyHAeoOGtIDW8xQWJucWZ6RD5U4y6HH3/Pn1jFGLJy89LlRLnPQ5S JABSlFGaBzcHlmpeMYoDvSXMOxOkigeYpuAmvQJawgS0ZA9LHsiSkkSElFQD4x65m743ffZd 51vFbJCxYJJKnsPsfSsuysz6MFGuWv/GzXWKi2TsvPat9oh4VGgvx3Sf/UcSu6/9hn7bRdvK Hz41F5/59pCGa2ZQ+jyW1P9sek7t/5P91b/oXGe5dtSn+nzwnb3rWB1Oy35mda4IPdf22/AX k4TFgi2F65pyOA/5z/JbX72kSImlOCPRUIu5qDgRAGBpcSUQAwAA Cc: svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 17:26:59 -0000 On Mon, 28 Oct 2013, Eitan Adler wrote: > Author: eadler > Date: Mon Oct 28 19:17:08 2013 > New Revision: 43055 > URL: http://svnweb.freebsd.org/changeset/doc/43055 > > Log: > Add STAGEDIR where needed (in some cases) > > Modified: > head/en_US.ISO8859-1/books/porters-handbook/book.xml > > Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml > ============================================================================== > --- head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Oct 28 19:13:05 2013 (r43054) > +++ head/en_US.ISO8859-1/books/porters-handbook/book.xml Mon Oct 28 19:17:08 2013 (r43055) > @@ -5036,7 +5036,7 @@ PORTVERSION= 1.0 > example: > > post-install: > - ${STRIP_CMD} ${PREFIX}/bin/xdl > + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl > > Use the &man.file.1; command on the installed executable > to check whether the binary is stripped or not. If it does > @@ -5068,8 +5068,8 @@ PORTVERSION= 1.0 > target. > > post-install: > - ${MKDIR} ${EXAMPLESDIR} > - (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) > + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) > > This example will install the contents of > examples directory in the vendor > @@ -5077,8 +5077,8 @@ PORTVERSION= 1.0 > port. > > post-install: > - ${MKDIR} ${DATADIR}/summer > - (cd ${WRKSRC}/temperatures && ${COPYTREE_SHARE} "June July August" ${DATADIR}/summer) > + ${MKDIR} ${STAGEDIR}${DATADIR}/summer > + (cd ${WRKSRC}/temperatures && ${COPYTREE_SHARE} "June July August" ${STAGEDIR}${DATADIR}/summer) > > And this example will install the data of summer months > to the summer subdirectory of a > @@ -5091,9 +5091,9 @@ PORTVERSION= 1.0 > one can use the following command. > > post-install: > - ${MKDIR} ${EXAMPLESDIR} > + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > (cd ${WRKSRC}/examples && \ > - ${COPYTREE_SHARE} . ${EXAMPLESDIR} "! -name Makefile") > + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile") > > Note that these macros does not add the installed files > to pkg-plist. You still need to list > @@ -10008,7 +10008,7 @@ lib/X11/oneko/sounds/cat.au > > post-install: > @if [ ! -f ${PREFIX}/etc/orbit.conf ]; then \ > - ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${PREFIX}/etc/orbit.conf ; \ > + ${CP} -p ${PREFIX}/etc/orbit.conf.sample ${STAGEDIR}${PREFIX}/etc/orbit.conf ; \ > fi > > For each configuration file, create the following three The loss of internal indentation within the programlisting for the normal indentation with nested control flow is unfortunate. That is, the body of if statements is normally indented another level, as are continuation lines in a subshell. -Ben