From cfc17f34f5b390141f756416c56a8fbcd643a27c Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 24 Jun 2020 12:20:27 +0200 Subject: dev-tex/tex4ht: Replace postinst message by README.gentoo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Ulrich Müller --- dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'dev-tex') diff --git a/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild b/dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild index 73b16a84d595..b88bcf3fcf0c 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 } -- cgit v1.2.3-65-gdbad