summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/magic')
-rw-r--r--dev-haskell/magic/Manifest1
-rw-r--r--dev-haskell/magic/magic-1.1.ebuild26
-rw-r--r--dev-haskell/magic/metadata.xml14
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-haskell/magic/Manifest b/dev-haskell/magic/Manifest
new file mode 100644
index 00000000000..f66e46affb6
--- /dev/null
+++ b/dev-haskell/magic/Manifest
@@ -0,0 +1 @@
+DIST magic-1.1.tar.gz 4318 SHA256 b21c3b69f57b64199c1d7be0ac8ea1d02d698be59943058f6a2d642ea57ce082 SHA512 f400396b0f82f9655376ac72e721badcf60c356c8594b4b67922890f55bac8e15b7aa856fdf61942c40b2622bdc231914994968af3b98d353bf50aed09ebbef5 WHIRLPOOL 2979ed4441b2e2219c56d530e062665e0960c47c3081474f3f6fabd66c6624c43adc6bbbc3a12ec56d7e2b44bfcd0acc723a8d1078eef5e4e9878c60184cc840
diff --git a/dev-haskell/magic/magic-1.1.ebuild b/dev-haskell/magic/magic-1.1.ebuild
new file mode 100644
index 00000000000..1d349367f6a
--- /dev/null
+++ b/dev-haskell/magic/magic-1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Interface to C file/magic library"
+HOMEPAGE="http://hackage.haskell.org/package/magic"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+ sys-apps/file
+"
+DEPEND="${RDEPEND}
+ dev-haskell/cabal
+"
diff --git a/dev-haskell/magic/metadata.xml b/dev-haskell/magic/metadata.xml
new file mode 100644
index 00000000000..32e691a5478
--- /dev/null
+++ b/dev-haskell/magic/metadata.xml
@@ -0,0 +1,14 @@
+<?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 provides a Haskell interface to the C libmagic library.
+ With it, you can determine the type of a file by examining its contents
+ rather than its name. The Haskell interface provides a full-featured
+ binding.
+ </longdescription>
+</pkgmetadata>