From owner-svn-ports-all@FreeBSD.ORG Mon Jan 13 08:29:49 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 9A6A1B25; Mon, 13 Jan 2014 08:29:49 +0000 (UTC) Date: Mon, 13 Jan 2014 08:29:49 +0000 From: Alexey Dokuchaev To: TAKATSU Tomonari Subject: Re: svn commit: r338361 - in head/devel/silentbob: . files Message-ID: <20140113082949.GB8735@FreeBSD.org> References: <201401010649.s016nJ4w004860@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201401010649.s016nJ4w004860@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 08:29:49 -0000 On Wed, Jan 01, 2014 at 06:49:19AM +0000, TAKATSU Tomonari wrote: > New Revision: 338361 > URL: http://svnweb.freebsd.org/changeset/ports/338361 > > +PORTDOCS= README [...] > +.if ${PORT_OPTIONS:MDOCS} > post-install: > -.if !defined(NOPORTDOCS) > - @${MKDIR} ${DOCSDIR} > - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} > - @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} > + @${MKDIR} ${STAGEDIR}${DOCSDIR} > + @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} For a simple cases like this one (when docs are not being built and are just a lonely README file), once staged, .if ${PORT_OPTIONS:MDOCS} is no longer necessary (and would allow you to remove .include ). Please note that INSTALL_* commands should not be muted (muting MKDIR is fine), thank you. ./danfe