Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/lhs2tex: ChangeLog lhs2tex-1.11.ebuild
Date: Sun, 01 Aug 2010 13:02:52
Message-Id: 20100801121048.B7BC32CE15@corvid.gentoo.org
1 slyfox 10/08/01 12:10:48
2
3 Modified: ChangeLog lhs2tex-1.11.ebuild
4 Log:
5 Remove hugs98 from build depends (USE=doc case) and switch to prebult .pdf documentation.
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.25 dev-haskell/lhs2tex/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lhs2tex/ChangeLog?rev=1.25&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lhs2tex/ChangeLog?rev=1.25&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lhs2tex/ChangeLog?r1=1.24&r2=1.25
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/ChangeLog,v
18 retrieving revision 1.24
19 retrieving revision 1.25
20 diff -u -r1.24 -r1.25
21 --- ChangeLog 1 Aug 2010 11:40:42 -0000 1.24
22 +++ ChangeLog 1 Aug 2010 12:10:47 -0000 1.25
23 @@ -1,6 +1,10 @@
24 # ChangeLog for dev-haskell/lhs2tex
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/ChangeLog,v 1.24 2010/08/01 11:40:42 slyfox Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/ChangeLog,v 1.25 2010/08/01 12:10:47 slyfox Exp $
28 +
29 + 01 Aug 2010; Sergei Trofimovich <slyfox@g.o> lhs2tex-1.11.ebuild:
30 + Remove hugs98 from build depends (USE=doc case) and switch to prebult .pdf
31 + documentation.
32
33 01 Aug 2010; Sergei Trofimovich <slyfox@g.o>
34 -lhs2tex-1.10_pre.ebuild:
35
36
37
38 1.12 dev-haskell/lhs2tex/lhs2tex-1.11.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild?rev=1.12&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild?rev=1.12&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild?r1=1.11&r2=1.12
43
44 Index: lhs2tex-1.11.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild,v
47 retrieving revision 1.11
48 retrieving revision 1.12
49 diff -u -r1.11 -r1.12
50 --- lhs2tex-1.11.ebuild 3 Sep 2008 21:03:25 -0000 1.11
51 +++ lhs2tex-1.11.ebuild 1 Aug 2010 12:10:47 -0000 1.12
52 @@ -1,6 +1,6 @@
53 -# Copyright 1999-2008 Gentoo Foundation
54 +# Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild,v 1.11 2008/09/03 21:03:25 opfer Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild,v 1.12 2010/08/01 12:10:47 slyfox Exp $
58
59 DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
60 HOMEPAGE="http://www.iai.uni-bonn.de/~loeh/lhs2tex"
61 @@ -15,8 +15,7 @@
62
63 DEPEND=">=dev-tex/polytable-0.8.2
64 <dev-lang/ghc-6.8
65 - =dev-haskell/cabal-1.1.6*
66 - doc? ( dev-lang/hugs98 virtual/latex-base )"
67 + =dev-haskell/cabal-1.1.6*"
68
69 RDEPEND=">=dev-tex/polytable-0.8.2"
70
71 @@ -28,14 +27,11 @@
72 src_compile() {
73 # polytable is installed separately
74 econf --disable-polytable || die "econf failed"
75 - # if doc is set, we build the documentation instead
76 - # of using the prebuilt file
77 - use doc && rm doc/Guide2.dontbuild
78 emake -j1 || die "make failed"
79 }
80
81 src_install () {
82 DESTDIR="${D}" emake -j1 install || die "installation failed"
83 - dodoc doc/Guide2.pdf
84 + use doc || rm "${D}/usr/share/doc/${P}/Guide2.pdf"
85 dodoc INSTALL RELEASE
86 }