Skip to content

Commit

Permalink
dev-tex/tex4ht: Replace postinst message by README.gentoo.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jun 24, 2020
1 parent 448881c commit cfc17f3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit cfc17f3

Please sign in to comment.