From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-tex/hevea: ChangeLog hevea-1.10-r1.ebuild |
Date: | Wed, 06 Oct 2010 19:02:59 |
Message-Id: | 20101006182832.8247020051@flycatcher.gentoo.org |
1 | aballier 10/10/06 18:28:32 |
2 | |
3 | Modified: ChangeLog |
4 | Added: hevea-1.10-r1.ebuild |
5 | Log: |
6 | Install hevea.sty in texmf-site and get rid of the TEXINPUTS "hack", bug #339591 by Andreas K. Hüttel <dilfridge@g.o> |
7 | |
8 | (Portage version: 2.2_rc89/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.24 dev-tex/hevea/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/ChangeLog?rev=1.24&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/ChangeLog?rev=1.24&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/ChangeLog?r1=1.23&r2=1.24 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v |
20 | retrieving revision 1.23 |
21 | retrieving revision 1.24 |
22 | diff -u -r1.23 -r1.24 |
23 | --- ChangeLog 27 Dec 2009 11:55:03 -0000 1.23 |
24 | +++ ChangeLog 6 Oct 2010 18:28:32 -0000 1.24 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-tex/hevea |
27 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v 1.23 2009/12/27 11:55:03 armin76 Exp $ |
29 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/ChangeLog,v 1.24 2010/10/06 18:28:32 aballier Exp $ |
31 | + |
32 | +*hevea-1.10-r1 (06 Oct 2010) |
33 | + |
34 | + 06 Oct 2010; Alexis Ballier <aballier@g.o> +hevea-1.10-r1.ebuild: |
35 | + Install hevea.sty in texmf-site and get rid of the TEXINPUTS "hack", bug |
36 | + #339591 by Andreas K. Hüttel <dilfridge@g.o> |
37 | |
38 | 27 Dec 2009; Raúl Porcel <armin76@g.o> hevea-1.10.ebuild: |
39 | sparc stable wrt #291786 |
40 | |
41 | |
42 | |
43 | 1.1 dev-tex/hevea/hevea-1.10-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/hevea-1.10-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/hevea/hevea-1.10-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: hevea-1.10-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-tex/hevea/hevea-1.10-r1.ebuild,v 1.1 2010/10/06 18:28:32 aballier Exp $ |
53 | |
54 | EAPI="2" |
55 | |
56 | inherit eutils multilib |
57 | |
58 | IUSE="+ocamlopt" |
59 | |
60 | DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator" |
61 | HOMEPAGE="http://pauillac.inria.fr/~maranget/hevea/" |
62 | SRC_URI="ftp://ftp.inria.fr/INRIA/moscova/hevea/${P}.tar.gz" |
63 | |
64 | LICENSE="QPL" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
67 | |
68 | DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | src_compile() { |
72 | rm -f config.sh |
73 | 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" |
74 | if use ocamlopt; then |
75 | emake PREFIX=/usr || die "Failed to build native code binaries" |
76 | else |
77 | emake PREFIX=/usr TARGET=byte || die "Failed to build bytecode binaries" |
78 | fi |
79 | } |
80 | |
81 | src_install() { |
82 | if use ocamlopt; then |
83 | emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed" |
84 | else |
85 | emake DESTDIR="${D}" PREFIX=/usr TARGET=byte install || die "Install failed" |
86 | fi |
87 | |
88 | dodoc README CHANGES |
89 | } |
90 | |
91 | # If texmf-update is present this means we have a latex install; update it so |
92 | # that hevea.sty can be found |
93 | # Do not (r)depend on latex though because hevea does not need it itself |
94 | # If latex is installed later, it will see hevea.sty |
95 | |
96 | pkg_postinst() { |
97 | if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then |
98 | /usr/sbin/texmf-update |
99 | fi |
100 | } |
101 | |
102 | pkg_postrm() { |
103 | if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then |
104 | /usr/sbin/texmf-update |
105 | fi |
106 | } |