games-roguelike/mazesofmonad: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 14 Sep 2016 17:55:48 +0000 (12:55 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 14 Sep 2016 19:12:31 +0000 (14:12 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

games-roguelike/mazesofmonad/mazesofmonad-1.0.9-r3.ebuild [new file with mode: 0644]

diff --git a/games-roguelike/mazesofmonad/mazesofmonad-1.0.9-r3.ebuild b/games-roguelike/mazesofmonad/mazesofmonad-1.0.9-r3.ebuild
new file mode 100644 (file)
index 0000000..164afb2
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+CABAL_FEATURES="bin"
+inherit eutils haskell-cabal
+
+MY_PN=MazesOfMonad
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Console-based roguelike Role Playing Game similar to nethack"
+HOMEPAGE="https://github.com/JPMoresmau/MazesOfMonad
+       http://hackage.haskell.org/package/MazesOfMonad"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/gmp-5:0=
+       virtual/libffi:="
+DEPEND="${RDEPEND}
+       >=dev-lang/ghc-7.4.1
+       >=dev-haskell/cabal-1.6
+       dev-haskell/hunit
+       dev-haskell/mtl
+       dev-haskell/random
+       dev-haskell/regex-posix
+       dev-haskell/time-locale-compat
+"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.0.9-time-1.5.patch
+)