Date: Fri, 21 Aug 2015 20:24:06 +0300 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: Alexey Dokuchaev <danfe@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: <20150821172406.GA41937@hades.panopticon> In-Reply-To: <20150821171523.GA49960@FreeBSD.org> References: <201508211600.t7LG05HP050267@repo.freebsd.org> <20150821171523.GA49960@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150821172406.GA41937>