blob: ea699c7f6dfe1b74b56c9a4fa3c5fc34f3efd35a (
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
32
33
34
35
36
37
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.6.0.3.ebuild,v 1.3 2014/08/12 16:45:05 slyfox Exp $
EAPI=5
# ebuild generated by hackport 0.3.2.9999
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
inherit haskell-cabal
MY_PN="BNFC"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A compiler front-end generator"
HOMEPAGE="http://bnfc.digitalgrammars.com/"
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND="dev-haskell/mtl:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
dev-haskell/alex
dev-haskell/happy
"
S="${WORKDIR}/${MY_P}"
src_prepare() {
rm dist/build/bnfc/bnfc-tmp/{LexBNF.hs,ParBNF.hs} || die
}
|