From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 686ED1388C3 for ; Thu, 7 Jan 2016 07:50:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B26E7E0894; Thu, 7 Jan 2016 07:50:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47B26E0894 for ; Thu, 7 Jan 2016 07:50:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E2BF3340967 for ; Thu, 7 Jan 2016 07:49:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 386B0CFB for ; Thu, 7 Jan 2016 07:49:56 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1452152866.5c88ed2bd0d8c4852b2a1f719c1574858de83d11.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/hevea/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tex/hevea/Manifest dev-tex/hevea/hevea-2.28.ebuild X-VCS-Directories: dev-tex/hevea/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 5c88ed2bd0d8c4852b2a1f719c1574858de83d11 X-VCS-Branch: master Date: Thu, 7 Jan 2016 07:49:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0ea25166-0c2c-479a-bb91-7e27a5e19a02 X-Archives-Hash: b8ecd766945a0cf9ef11483987f6e88a commit: 5c88ed2bd0d8c4852b2a1f719c1574858de83d11 Author: Alexis Ballier gentoo org> AuthorDate: Thu Jan 7 07:47:46 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Thu Jan 7 07:47:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c88ed2b dev-tex/hevea: bump to 2.28 Package-Manager: portage-2.2.26 Signed-off-by: Alexis Ballier gentoo.org> dev-tex/hevea/Manifest | 1 + dev-tex/hevea/hevea-2.28.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-tex/hevea/Manifest b/dev-tex/hevea/Manifest index 4866f6a..a281fb9 100644 --- a/dev-tex/hevea/Manifest +++ b/dev-tex/hevea/Manifest @@ -7,3 +7,4 @@ DIST hevea-2.22.tar.gz 408147 SHA256 aba303d9067eb51ecde25b74f831a33fa58b4b15855 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 +DIST hevea-2.28.tar.gz 969507 SHA256 cde2000e4642f3f88d73a317aec54e8b6036e29e81a00262daf15aca47d0d691 SHA512 9df1ab91d9c15952f3b2f5b7aa8a56e24160b6447c4a6e29ba8093cb70565400d40ae840c0077c0f16249bea673b9a3ca9c9e8a0b34b272d4dffc97d3482b033 WHIRLPOOL 6c483f0627bca8d405b79129463b3510cfc463080f9d8908e7b98024899fc665444122271e06e70b253e5b0ceb17aed66e74e9364f97d427e5c087ad33a890e9 diff --git a/dev-tex/hevea/hevea-2.28.ebuild b/dev-tex/hevea/hevea-2.28.ebuild new file mode 100644 index 0000000..90a0002 --- /dev/null +++ b/dev-tex/hevea/hevea-2.28.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 +}