commit: cfc17f34f5b390141f756416c56a8fbcd643a27c Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Jun 24 10:20:27 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Jun 24 10:43:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc17f34
dev-tex/tex4ht: Replace postinst message by README.gentoo. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild b/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild index 73b16a84d59..b88bcf3fcf0 100644 --- a/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild +++ b/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit latex-package toolchain-funcs java-pkg-opt-2 flag-o-matic +inherit latex-package toolchain-funcs java-pkg-opt-2 flag-o-matic readme.gentoo-r1 # from http://mirrors.ctan.org/systems/texlive/tlnet/archive/tex4ht.tar.xz TL_TEX4HT_VER="2020-06-24" @@ -111,12 +111,16 @@ src_install() { insinto ${TEXMF}/tex/generic/${PN} insopts -m755 doins "${S}"/bin/ht/unix/* + + local DOC_CONTENTS="In order to avoid collisions with multiple packages, + we are not installing the scripts in /usr/bin any more. + If you want to use, say, htlatex, you can use 'mk4ht htlatex file'." + use java || DOC_CONTENTS+="\n\nODF converters (oolatex & friends) + require the java use flag." + readme.gentoo_create_doc } pkg_postinst() { - use java || elog 'ODF converters (oolatex & friends) require the java use flag' latex-package_pkg_postinst - elog "In order to avoid collisions with multiple packages" - elog "We are not installing the scripts in /usr/bin anymore" - elog "If you want to use, say, htlatex, you can use 'mk4ht htlatex file'" + readme.gentoo_print_elog }
