Gentoo Archives: gentoo-commits

From: "Lennart Kolmodin (kolmodin)" <kolmodin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/haddock: haddock-2.4.2.ebuild ChangeLog
Date: Sun, 19 Apr 2009 15:20:39
Message-Id: E1LvYov-0005yX-ID@stork.gentoo.org
1 kolmodin 09/04/19 15:20:37
2
3 Modified: ChangeLog
4 Added: haddock-2.4.2.ebuild
5 Log:
6 Version bump dev-haskell/haddock-2.4.2, currently masked for testing.
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.57 dev-haskell/haddock/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/haddock/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/haddock/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/haddock/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 4 Oct 2008 10:12:48 -0000 1.56
23 +++ ChangeLog 19 Apr 2009 15:20:37 -0000 1.57
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-haskell/haddock
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v 1.56 2008/10/04 10:12:48 armin76 Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v 1.57 2009/04/19 15:20:37 kolmodin Exp $
30 +
31 +*haddock-2.4.2 (19 Apr 2009)
32 +
33 + 19 Apr 2009; Lennart Kolmodin <kolmodin@g.o> +haddock-2.4.2.ebuild:
34 + Version bump. Depends on dev-lang/ghc-6.10.2, so it's currently masked for
35 + testing.
36
37 04 Oct 2008; Raúl Porcel <armin76@g.o> haddock-0.8.ebuild:
38 alpha/ia64 stable
39
40
41
42 1.1 dev-haskell/haddock/haddock-2.4.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/haddock/haddock-2.4.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/haddock/haddock-2.4.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: haddock-2.4.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.4.2.ebuild,v 1.1 2009/04/19 15:20:37 kolmodin Exp $
52
53 CABAL_FEATURES="bin lib"
54 # don't enable profiling as the 'ghc' package is not built with profiling
55 inherit haskell-cabal autotools
56
57 DESCRIPTION="A documentation-generation tool for Haskell libraries"
58 HOMEPAGE="http://www.haskell.org/haddock/"
59 SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="doc"
65
66 RDEPEND="~dev-lang/ghc-6.10.2
67 dev-haskell/filepath
68 dev-haskell/ghc-paths"
69 DEPEND="${RDEPEND}
70 >=dev-haskell/cabal-1.6
71 doc? ( ~app-text/docbook-xml-dtd-4.2
72 app-text/docbook-xsl-stylesheets
73 >=dev-libs/libxslt-1.1.2 )"
74
75 src_unpack() {
76 unpack ${A}
77
78 if use doc; then
79 cd "${S}/doc"
80 eautoreconf
81 fi
82
83 }
84
85 src_compile () {
86 cabal_src_compile
87 if use doc; then
88 cd "${S}/doc"
89 ./configure --prefix="${D}/usr/" \
90 || die 'error configuring documentation.'
91 emake html || die 'error building documentation.'
92 fi
93 }
94
95 src_install () {
96 cabal_src_install
97 if use doc; then
98 dohtml -r "${S}/doc/haddock/"*
99 fi
100 dodoc CHANGES README
101 }