This ebuild installs a local copy of the official ocaml reference manual. Ocaml and MetaOcaml could say DEPEND="doc? app-doc/ocaml-docs".
Created attachment 77732 [details] ocaml-docs-3.09.ebuild
This is indeed a very nice ebuild (I used to make a manual copy). I made a few changes before commiting it: - it was renamed in ocaml-doc - don't use ${PVR} unless you have a good reason to (like tarballs having changes) but ${PV} instead. New revisions are usually internal gentoo changes so that shouldn't modify SRC_URI and other variables. - the symlink in /usr/share/ocaml-docs was removed (btw, this is done with a "dosym" in src_install, not real "ln -s" in pkg_postinst). I hesitated much before doing it, but policy is that doc goes in /usr/share/doc, and there was then no point in having /usr/share/doc/ocaml-doc and /usr/share/ocaml-doc-0.9 - an einfo saying that it was also available online at ${HOMEPAGE} was added, as there is no point in having this package if you have an internet connexion. Thanks!