From owner-svn-ports-head@freebsd.org Fri Aug 21 17:30:04 2015 Return-Path: Delivered-To: svn-ports-head@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 F228D9BF7AC; Fri, 21 Aug 2015 17:30:03 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from vps.amdmi3.ru (vps.amdmi3.ru [109.234.38.216]) by mx1.freebsd.org (Postfix) with ESMTP id AE3761D6E; Fri, 21 Aug 2015 17:30:02 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from hive.panopticon (unknown [78.153.152.119]) by vps.amdmi3.ru (Postfix) with ESMTPS id 6D825B059C; Fri, 21 Aug 2015 20:29:55 +0300 (MSK) Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id BDD92AD2; Fri, 21 Aug 2015 20:27:16 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 5347438199; Fri, 21 Aug 2015 20:24:06 +0300 (MSK) Date: Fri, 21 Aug 2015 20:24:06 +0300 From: Dmitry Marakasov To: Alexey Dokuchaev Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r394970 - head/devel/love07 Message-ID: <20150821172406.GA41937@hades.panopticon> References: <201508211600.t7LG05HP050267@repo.freebsd.org> <20150821171523.GA49960@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150821171523.GA49960@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2015 17:30:04 -0000 * Alexey Dokuchaev (danfe@FreeBSD.org) wrote: > > New Revision: 394970 > > URL: https://svnweb.freebsd.org/changeset/ports/394970 > > > > Log: > > - Switch to options helpers > > > > [...] > > -.if ${PORT_OPTIONS:MDOCS} > > -post-install: > > +post-install-DOCS-on: > > ${MKDIR} ${STAGEDIR}${DOCSDIR} > > .for f in changes.txt readme.txt > > ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} > > .endfor > > -.endif > > (Picking a random commit) I don't quite get it. Pregen'ed files like > changes.txt and readme.txt can be just always installed into stagedir, no? > So a port is built+installed once, then multiple flavors of packages are > generated by taking needed files from the stagedir. > > That said, `post-install-FOO-on' target should be used when FOO bits are > not necessarily available (e.g. because they have to be built first, and > that step could/should be optional). This has nothing to do with flavors, these are targets which depend on whether option is enabled or disabled. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://amdmi3.ru