summaryrefslogtreecommitdiff
blob: e998305dc8eb9e5d69d707a2d61feca0ded1a8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.16.ebuild,v 1.1 2011/06/05 16:06:10 slyfox Exp $

EAPI="2"

CABAL_FEATURES="bin"
inherit haskell-cabal

DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
HOMEPAGE="http://www.andres-loeh.de/lhs2tex/"
SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"

RDEPEND=""
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.8
		dev-haskell/mtl
		dev-haskell/regex-compat
		>=dev-lang/ghc-6.12
		>=dev-tex/polytable-0.8.2"

src_install() {
	haskell-cabal_src_install

	use doc || rm "${D}/usr/share/doc/${P}/doc/Guide2.pdf"
}