summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-06-24 12:20:27 +0200
committerUlrich Müller <ulm@gentoo.org>2020-06-24 12:43:39 +0200
commitcfc17f34f5b390141f756416c56a8fbcd643a27c (patch)
treefea5d2f298b8b8e3e28c31e59332d28ee779714c /dev-tex
parentdev-tex/tex4ht: Fix compilation with format-security. (diff)
downloadgentoo-cfc17f34f5b390141f756416c56a8fbcd643a27c.tar.gz
gentoo-cfc17f34f5b390141f756416c56a8fbcd643a27c.tar.bz2
gentoo-cfc17f34f5b390141f756416c56a8fbcd643a27c.zip
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@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/tex4ht/tex4ht-20090611_p1038-r10.ebuild14
1 files 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 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
}