--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="AC-PPM"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Trivial package for writing PPM images"
+HOMEPAGE="http://hackage.haskell.org/package/AC-PPM"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+S="${WORKDIR}/${MY_P}"
--- /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>
+ This package is written in 100% Haskell and enables you to
+ write PPM (\"Portable Pixel Map\") images in human-readable
+ text format as well as the more efficient binary format.
+ It uses the ByteString library for maximum efficiency.
+ For those that don't know, PPM is an image file format
+ which is trivially simple, but therefore horribly inefficient.
+ None the less, many programs can read PPM files, so this
+ package represents an easy way to write Haskell code that
+ generates images, without having to depend on any external
+ C code.
+ </longdescription>
+</pkgmetadata>