aballier    14/10/27 08:31:15

  Modified:             ChangeLog
  Added:                hevea-2.18.ebuild
  Log:
  version bump
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.50                 dev-tex/hevea/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/ChangeLog?rev=1.50&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/ChangeLog?rev=1.50&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/ChangeLog?r1=1.49&r2=1.50

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog   14 Jun 2013 20:12:18 -0000      1.49
+++ ChangeLog   27 Oct 2014 08:31:15 -0000      1.50
@@ -1,6 +1,11 @@
 # ChangeLog for dev-tex/hevea
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v 1.49 2013/06/14 
20:12:18 aballier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v 1.50 2014/10/27 
08:31:15 aballier Exp $
+
+*hevea-2.18 (27 Oct 2014)
+
+  27 Oct 2014; Alexis Ballier <[email protected]> +hevea-2.18.ebuild:
+  version bump
 
   14 Jun 2013; Alexis Ballier <[email protected]> hevea-2.03.ebuild:
   rdepend on tl-latexextra for comment.sty by Alexey Shmalko, bug #472660



1.1                  dev-tex/hevea/hevea-2.18.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/hevea-2.18.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/hevea-2.18.ebuild?rev=1.1&content-type=text/plain

Index: hevea-2.18.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/hevea-2.18.ebuild,v 1.1 
2014/10/27 08:31:15 aballier Exp $

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
}




Reply via email to