# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.ebuild,v 1.3 2006/02/28 12:41:18 dcoutts Exp $ CABAL_FEATURES="lib haddock" inherit base haskell-cabal MY_PN=HaXml MY_P=${MY_PN}-${PV} DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documents" HOMEPAGE="http://www.haskell.org/HaXml/" SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" # actually, >=ghc-5.02 should be ok (if not using cabal) # hugs and nhc98 are ok too, somebody might want to add support for them DEPEND=">=virtual/ghc-6.2 >=dev-haskell/cabal-1.1.3-r1" S=${WORKDIR}/${MY_P} src_unpack() { base_src_unpack # Text.PrettyPrint is already provided by ghc and produces a conflict rm -rf "${S}/src/Text/PrettyPrint" } src_install() { cabal_src_install if use doc; then dohtml -r docs/* dodoc docs/icfp99.dvi docs/icfp99.ps.gz fi }