--- /dev/null
+DIST MemoTrie-0.6.4.tar.gz 7695 SHA256 4238c8f7ea1ecd2497d0a948493acbdc47728b2528b6e7841ef064b783d68b1c SHA512 5700a36ae2a53e84bc31d80765afff3041972b4b64da359e16e7981009cc581d9c8aac019eb46d44d5dba7080dad494587ad1f4256f101387eb6de2959dd659f WHIRLPOOL 29e23cad959c609585155967c300aa223eec1dbc5db79bb97ff4dca6d97431ae68a02a245c0db1f7244f49aece89dc913d806e610010c690377edb60ab4d981f
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="bin lib profile" #broken haddock: haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="MemoTrie"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Trie-based memo functions"
+HOMEPAGE="https://github.com/conal/MemoTrie"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="dev-haskell/void:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag examples examples)
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ MemoTrie provides a basis for memoized functions over some domains,
+ using tries. It's based on some code I got from Spencer Janssen.
+
+ Project wiki page: <http://haskell.org/haskellwiki/MemoTrie>
+
+ &#169; 2008,2009,2010 by Conal Elliott; BSD3 license.
+ </longdescription>
+</pkgmetadata>