svn commit: r394970 - head/devel/love07
Dmitry Marakasov
amdmi3 at amdmi3.ru
Fri Aug 21 17:30:04 UTC 2015
* Alexey Dokuchaev (danfe at 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 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://amdmi3.ru
More information about the svn-ports-all
mailing list