diff options
Diffstat (limited to 'dev-lang/whitespace/whitespace-0.3.ebuild')
-rw-r--r-- | dev-lang/whitespace/whitespace-0.3.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-lang/whitespace/whitespace-0.3.ebuild b/dev-lang/whitespace/whitespace-0.3.ebuild new file mode 100644 index 000000000000..6915b81adfbe --- /dev/null +++ b/dev-lang/whitespace/whitespace-0.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +CABAL_FEATURES="bin" + +inherit haskell-cabal + +DESCRIPTION="Whitespace language interpreter in haskell" +HOMEPAGE="http://compsoc.dur.ac.uk/whitespace/" +SRC_URI="http://compsoc.dur.ac.uk/whitespace/downloads/wspace-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="dev-lang/ghc" +RDEPEND="" + +S="${WORKDIR}/WSpace" + +src_prepare() { + epatch -p1 "${FILESDIR}/${PN}-cabal.patch" +} + +src_install() { + cabal_src_install + + dohtml docs/tutorial.html || die "dohtml failed" + use examples && { dodoc -r examples || die "dodoc failed"; } +} |