summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-04-29 19:35:24 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-04-29 19:35:45 +0300
commitab0eed94fd1fa0a3e6f718eebd2fdb8e84fb075c (patch)
tree1f36b246ecacda28d5e2db9a26f4b3541168c996 /app-text/jadetex/jadetex-3.13-r9.ebuild
parentsys-apps/util-linux: clean up old blockers (diff)
downloadgentoo-ab0eed94fd1fa0a3e6f718eebd2fdb8e84fb075c.tar.gz
gentoo-ab0eed94fd1fa0a3e6f718eebd2fdb8e84fb075c.tar.bz2
gentoo-ab0eed94fd1fa0a3e6f718eebd2fdb8e84fb075c.zip
app-text/jadetex: revbump for config changes
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-text/jadetex/jadetex-3.13-r9.ebuild')
-rw-r--r--app-text/jadetex/jadetex-3.13-r9.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-text/jadetex/jadetex-3.13-r9.ebuild b/app-text/jadetex/jadetex-3.13-r9.ebuild
new file mode 100644
index 000000000000..54e50576aae4
--- /dev/null
+++ b/app-text/jadetex/jadetex-3.13-r9.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit latex-package texlive-common
+
+DESCRIPTION="TeX macros used by Jade TeX output"
+HOMEPAGE="http://jadetex.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jadetex/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+RESTRICT="test"
+
+DEPEND=">=app-text/openjade-1.3.1
+ dev-texlive/texlive-fontsrecommended
+ dev-texlive/texlive-plaingeneric"
+
+src_compile() {
+ fmt_call="$(has_version '>=app-text/texlive-core-2019' \
+ && echo "fmtutil-user" || echo "fmtutil")"
+ VARTEXFONTS="${T}/fonts" emake
+ VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}" env -u TEXINPUTS \
+ $fmt_call --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir "${S}/texmf-var/web2c" --all\
+ || die "failed to build format"
+}
+
+src_install() {
+ # Runtime files
+ insinto /usr/share/texmf-site/tex/jadetex
+ doins dsssl.def jadetex.ltx jadetex.cfg {pdf,}jadetex.ini *.sty
+
+ insinto /var/lib/texmf
+ doins -r texmf-var
+
+ etexlinks "${FILESDIR}/format.jadetex.cnf"
+
+ # Doc/manpages
+ dodoc ChangeLog*
+ doman *.1
+ dodoc -r .
+
+ # Support for our latex setup
+ insinto /etc/texmf/texmf.d
+ doins "${FILESDIR}/80jadetex.cnf"
+ insinto /etc/texmf/fmtutil.d
+ doins "${FILESDIR}/format.jadetex.cnf"
+}
+
+pkg_postinst() {
+ etexmf-update
+ elog
+ elog "If jadetex fails with \"TeX capacity exceeded, sorry [save size=5000]\","
+ elog "increase save_size in /etc/texmf/texmf.d/80jadetex.cnf and."
+ elog "remerge jadetex. See bug #21501."
+ elog
+}
+
+pkg_postrm() {
+ etexmf-update
+}