summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-12-11 12:27:54 +0100
committerAlexis Ballier <aballier@gentoo.org>2015-12-11 12:28:35 +0100
commit9923403672135fb533d0634e3d1debe180b4308f (patch)
treeaab2b436e4965f7b60152ce0b63df5d21ab58158 /dev-tex
parentdev-libs/openssl: ia64 stable wrt bug #567476 (diff)
downloadgentoo-9923403672135fb533d0634e3d1debe180b4308f.tar.gz
gentoo-9923403672135fb533d0634e3d1debe180b4308f.tar.bz2
gentoo-9923403672135fb533d0634e3d1debe180b4308f.zip
dev-tex/hevea: bump to 2.26
Package-Manager: portage-2.2.26 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/hevea/Manifest1
-rw-r--r--dev-tex/hevea/hevea-2.26.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-tex/hevea/Manifest b/dev-tex/hevea/Manifest
index a3860fe479b..4866f6ab06b 100644
--- a/dev-tex/hevea/Manifest
+++ b/dev-tex/hevea/Manifest
@@ -6,3 +6,4 @@ DIST hevea-2.21.tar.gz 408047 SHA256 f9ec0ea0a41eab0c0e10815d79dbc5840823e50e56d
DIST hevea-2.22.tar.gz 408147 SHA256 aba303d9067eb51ecde25b74f831a33fa58b4b15855e8ef937a1df9949a8fcad SHA512 e15405c43c988faf4bfd860a1e9b2b380e3de636b0e7cac3a754c2437031e6f148a5ee029eae50d20495f042f836b1b0d8ac45bdb3afdfdb42e91ac3d55b8296 WHIRLPOOL 53f45ddf4aac8b9d8862241d4e860910f3f1ed4dd56abd11128e8daa8349e30034fe21445cc625d7ab92866a60533ec930246d462804bf8261b1c16f87d1e529
DIST hevea-2.23.tar.gz 968938 SHA256 db8ec1459cace8f008387dbcf745ba56917d44ff62c7bdba843da250109137b9 SHA512 674a0b3fe14314101cdbb81c572b0df1039c5d4896697405e6cd8b7f3a3a654fb7b681dd8109044ba2fb11c26d591f90d769ce6640b94d75f50b74d2a7b17d10 WHIRLPOOL 42e1753d2b6bd3fc447612538dbecae679fffcb42143da1991ec8f052b3d143e95f6bcc7dff8ba6edf2410f239e308bce4f9177ca5aa48224d2dac251d4c7d63
DIST hevea-2.25.tar.gz 969449 SHA256 e4c75b550bb2aa663052063d979dd1490fd7817e7cbb97b208dee92ed24ec94e SHA512 68b382f2c7466f092ee0b1055ff2f8659d2a0fec221b776b91ecb6b579633d5540d809a2ef68937401e870ed51ea6420bae37d8549d7d8db6a1c327051d4cf29 WHIRLPOOL 241dffbeaad6729aa0db243980c94b080651c0fc7a263e46f9f585518ccef78711322c52ab2104ee3f2f6138251b4dd071c04198419f0cb4fdf9c26de405195e
+DIST hevea-2.26.tar.gz 969378 SHA256 4eb43d25ff22208af5914f20e7349c92b68c21bfae95300c54578448c5377b9c SHA512 b239546b0da42dd67260c63135716e1f2822ccaf6b8b17d715cff369934579a54b19e9f0604758c3a2daecc113121cea09f43adbbed2436c12310f6524b1d140 WHIRLPOOL b35b7b3651a6415b95a6f0177b3e21389e41025984a87ae2e18f0f106902273fc649a980503a8a7e1abef705e4b5e4259b740774957d2215b8beb0a1b51b78de
diff --git a/dev-tex/hevea/hevea-2.26.ebuild b/dev-tex/hevea/hevea-2.26.ebuild
new file mode 100644
index 00000000000..90a000220df
--- /dev/null
+++ b/dev-tex/hevea/hevea-2.26.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib
+
+IUSE="+ocamlopt"
+
+DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator"
+HOMEPAGE="http://hevea.inria.fr/"
+SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz"
+
+LICENSE="QPL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]"
+RDEPEND="${DEPEND}
+ dev-texlive/texlive-latexextra"
+
+src_compile() {
+ rm -f config.sh
+ emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/share/texmf-site/tex/latex/hevea" config.sh || die "Failed to create config.sh"
+ if use ocamlopt; then
+ emake PREFIX=/usr || die "Failed to build native code binaries"
+ else
+ emake PREFIX=/usr TARGET=byte || die "Failed to build bytecode binaries"
+ fi
+}
+
+src_install() {
+ if use ocamlopt; then
+ emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed"
+ else
+ emake DESTDIR="${D}" PREFIX=/usr TARGET=byte install || die "Install failed"
+ fi
+
+ dodoc README CHANGES
+}
+
+# If texmf-update is present this means we have a latex install; update it so
+# that hevea.sty can be found
+# Do not (r)depend on latex though because hevea does not need it itself
+# If latex is installed later, it will see hevea.sty
+
+pkg_postinst() {
+ if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then
+ /usr/sbin/texmf-update
+ fi
+}
+
+pkg_postrm() {
+ if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then
+ /usr/sbin/texmf-update
+ fi
+}