--- /dev/null
+# ChangeLog for dev-haskell/monad-control
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/monad-control/ChangeLog,v 1.1 2011/12/04 18:05:02 slyfox Exp $
+
+*monad-control-0.2.0.3 (04 Dec 2011)
+
+ 04 Dec 2011; Sergei Trofimovich <slyfox@gentoo.org> +metadata.xml,
+ +monad-control-0.2.0.3.ebuild:
+ Initial version. Lift control operations, like exception catching, through
+ monad transformers (dev-vcs/git-annex depend)
+
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ This package defines the type class @MonadControlIO@, a subset of
+ @MonadIO@ into which generic control operations such as @catch@ can
+ be lifted from @IO@. Instances are based on monad transformers in
+ @MonadTransControl@, which includes all standard monad transformers
+ in the @transformers@ library except @ContT@. For convenience, it
+ provides a wrapped version of @Control.Exception@ with types
+ generalized from @IO@ to all monads in @MonadControlIO@.
+
+ Note that this package is a rewrite of Anders Kaseorg's @monad-peel@ library.
+ The main difference is that this package provides CPS style
+ operators and exploits the @RankNTypes@ language extension to
+ simplify most definitions.
+
+ The package includes a copy of the @monad-peel@ testsuite written by Anders Kaseorg.
+ The tests can be performed by using @cabal test@.
+
+ The following @critertion@ based benchmark shows that @monad-control@
+ is on average about 2.5 times faster than @monad-peel@:
+
+ <https://github.com/basvandijk/bench-monad-peel-control>
+ </longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/monad-control/monad-control-0.2.0.3.ebuild,v 1.1 2011/12/04 18:05:02 slyfox Exp $
+
+# ebuild generated by hackport 0.2.14
+
+EAPI="3"
+
+CABAL_FEATURES="lib profile haddock hscolour hoogle"
+inherit base haskell-cabal
+
+DESCRIPTION="Lift control operations, like exception catching, through monad transformers"
+HOMEPAGE="https://github.com/basvandijk/monad-control/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="<dev-haskell/base-unicode-symbols-0.3
+ =dev-haskell/transformers-0.2*
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.9.2
+ test? (
+ >=dev-haskell/cabal-1.10
+ <dev-haskell/test-framework-0.5
+ <dev-haskell/test-framework-hunit-0.3
+ )
+ "
+
+src_configure() {
+ cabal_src_configure $(use_enable test tests) $(cabal_flag test)
+}