Date: Fri, 21 Aug 2015 17:15:23 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Dmitry Marakasov <amdmi3@FreeBSD.org> 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: <20150821171523.GA49960@FreeBSD.org> In-Reply-To: <201508211600.t7LG05HP050267@repo.freebsd.org> References: <201508211600.t7LG05HP050267@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 21, 2015 at 04:00:05PM +0000, Dmitry Marakasov 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). ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150821171523.GA49960>