summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/wxdirect')
-rw-r--r--dev-haskell/wxdirect/Manifest4
-rw-r--r--dev-haskell/wxdirect/files/wxdirect-0.13.1.2-ghc-7.6.patch74
-rw-r--r--dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch54
-rw-r--r--dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch49
-rw-r--r--dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch38
-rw-r--r--dev-haskell/wxdirect/metadata.xml11
-rw-r--r--dev-haskell/wxdirect/wxdirect-0.13.1.2.ebuild38
-rw-r--r--dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild38
-rw-r--r--dev-haskell/wxdirect/wxdirect-0.90.0.1.ebuild37
-rw-r--r--dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild40
10 files changed, 383 insertions, 0 deletions
diff --git a/dev-haskell/wxdirect/Manifest b/dev-haskell/wxdirect/Manifest
new file mode 100644
index 000000000000..dc84518f5b6a
--- /dev/null
+++ b/dev-haskell/wxdirect/Manifest
@@ -0,0 +1,4 @@
+DIST wxdirect-0.13.1.2.tar.gz 32730 SHA256 675fa4dc4769ab213e0cb8e0535152ba38f78412f5c3e326fdd1a7914cd4c5be SHA512 da9aa9ab61fdc21fe063a9d249ad1b7a413e079a43fa71b9c20e1c3faffacc6a226315c3c65cbf991b3a5f8fe89220db7a0fc2b0afb5e735f2f0a15a1d909f29 WHIRLPOOL 9d9ec33b69da2f232fd6c79f996e9c21709be05032c600d88d5c5f10a49c24a2d4b94e44dbc25b6bed9d4fbf318df6af3026638fc066934325279815eea7cddd
+DIST wxdirect-0.13.1.3.tar.gz 32748 SHA256 2691991b319db1a57b9ee8895f78474ac4cbb947040e250d86975a30e8cf7411 SHA512 fc0ae01937c524105edcc39a8cbb3b0ac45d2d8b34346f59ada30171ed78f1a3e0be4010ffe63cd37ee0cc38c1b08e31628281efaa3ccc847a19f9518ecbe08c WHIRLPOOL db92071df161d4f25ddbd0af24153a21c3eb51877496f5fa60cf655bf71fc7c19f06f70fd3919798fcde50052205d04932307d8eaec65bb47dc9e561cb8ba02f
+DIST wxdirect-0.90.0.1.tar.gz 31211 SHA256 237b377387f2b9375d42abbb791001ddc07fa36d990b8720372f00c3fba35a12 SHA512 caa28cd5e9ef06a8f63b40ad517873d8d853136048c3597bc850c3460e3830f9cbbafc38dad8b1f356f3fe67f05c2339d97085ca63d3d9b0a75558b713d94033 WHIRLPOOL 8bdd8066bb4df514ec367266b137a73e0a6504c9fb5e9366ed7b46efbf747d2e8cc626aaff43a36d5710f85b0c395bcfc2625601f51c19dd88c2337080b04d9b
+DIST wxdirect-0.90.1.1.tar.gz 29893 SHA256 282968b7fc52ed67f1efaf357cac05ffad58b7f80128062549801b6309ed7045 SHA512 f32b62db9c88a282531081a1a1e40757335306306af28a38ed364d28ca532418aca18e44ec6b5a789e02f5dddb455c9a7eb7f7e7c24b8a155df80628dcd2cfa1 WHIRLPOOL fbcb554ddaa6d96d3b87dc2c1423802409a8d763c59981446c7005b56455f275854587c49eb56da371ff350eacd1d76059f8b850844ffa05ef177b8338d10f12
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.13.1.2-ghc-7.6.patch b/dev-haskell/wxdirect/files/wxdirect-0.13.1.2-ghc-7.6.patch
new file mode 100644
index 000000000000..0dc58a66f709
--- /dev/null
+++ b/dev-haskell/wxdirect/files/wxdirect-0.13.1.2-ghc-7.6.patch
@@ -0,0 +1,74 @@
+--- wxdirect-0.13.1.2-orig/wxdirect.cabal 2012-02-07 18:26:28.000000000 +1100
++++ wxdirect-0.13.1.2/wxdirect.cabal 2012-11-29 17:03:30.132111644 +1100
+@@ -68,7 +68,7 @@
+ if flag(splitBase)
+ build-depends:
+ base >= 4 && < 5,
+- containers >= 0.2 && < 0.5
++ containers >= 0.2 && < 0.6
+ else
+ build-depends:
+ base >= 3 && < 4,
+--- wxdirect-0.13.1.2-orig/src/ParseEiffel.hs 2012-02-07 18:26:28.000000000 +1100
++++ wxdirect-0.13.1.2/src/ParseEiffel.hs 2013-01-11 20:11:46.192991896 +1100
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ScopedTypeVariables #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : ParseEiffel
+ Copyright : (c) Daan Leijen 2003
+@@ -12,6 +13,8 @@
+ -----------------------------------------------------------------------------------------
+ module ParseEiffel( parseEiffel ) where
+
++import Prelude hiding ( catch )
++import Control.Exception ( catch, IOException )
+ import Data.Char( digitToInt )
+ import Text.ParserCombinators.Parsec
+ import qualified Text.ParserCombinators.Parsec.Token as P
+@@ -33,7 +36,7 @@
+
+ getDefaultEiffelFiles :: IO [FilePath]
+ getDefaultEiffelFiles
+- = do wxwin <- getEnv "WXWIN" `catch` \err -> return ""
++ = do wxwin <- getEnv "WXWIN" `catch` \(err::IOException) -> return ""
+ return [wxwin ++ "/wxc/include/wxc_defs.e"
+ ,wxwin ++ "/wxc/ewxw/eiffel/spec/r_2_4/wx_defs.e"]
+
+--- wxdirect-0.13.1.2-orig/src/Classes.hs 2012-02-07 18:26:28.000000000 +1100
++++ wxdirect-0.13.1.2/src/Classes.hs 2012-11-29 17:12:55.416713615 +1100
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : Classes
+ Copyright : (c) Daan Leijen 2003
+@@ -28,7 +29,9 @@
+ import Data.List( sort, sortBy )
+ import qualified Data.Set as Set
+ import qualified Data.Map as Map
++#if !MIN_VERSION_base(4,6,0)
+ import Prelude hiding ( catch )
++#endif
+ import HaskellNames( haskellTypeName, isBuiltin )
+ import Types
+
+--- wxdirect-0.13.1.2-orig/src/CompileClasses.hs 2012-02-07 18:26:28.000000000 +1100
++++ wxdirect-0.13.1.2/src/CompileClasses.hs 2012-11-29 17:12:55.417713640 +1100
+@@ -89,7 +89,7 @@
+ (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
+
+ methodCount = length decls
+- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
++ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
+
+ export = concat [ ["module " ++ moduleRoot ++ moduleName
+ , " ( -- * Global" ]
+@@ -103,6 +103,9 @@
+ , "import System.IO.Unsafe( unsafePerformIO )"
+ , "import " ++ moduleRoot ++ "WxcTypes"
+ , "import " ++ moduleRoot ++ moduleClassTypesName
++ , "#if (__GLASGOW_HASKELL__>=705)"
++ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
++ , "#endif"
+ , ""
+ ]
+ ]
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch b/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch
new file mode 100644
index 000000000000..dfc484a1eb9a
--- /dev/null
+++ b/dev-haskell/wxdirect/files/wxdirect-0.13.1.3-ghc-7.6.patch
@@ -0,0 +1,54 @@
+--- wxdirect-0.13.1.3-orig/src/ParseEiffel.hs 2012-09-30 20:02:15.000000000 +1000
++++ wxdirect-0.13.1.3/src/ParseEiffel.hs 2014-03-23 14:15:23.118131281 +1100
+@@ -1,3 +1,4 @@
++{-# LANGUAGE ScopedTypeVariables #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : ParseEiffel
+ Copyright : (c) Daan Leijen 2003
+@@ -12,6 +13,8 @@
+ -----------------------------------------------------------------------------------------
+ module ParseEiffel( parseEiffel ) where
+
++import Prelude hiding ( catch )
++import Control.Exception ( catch, IOException )
+ import Data.Char( digitToInt )
+ import Text.ParserCombinators.Parsec
+ import qualified Text.ParserCombinators.Parsec.Token as P
+--- wxdirect-0.13.1.3-orig/src/Classes.hs 2012-09-30 20:02:15.000000000 +1000
++++ wxdirect-0.13.1.3/src/Classes.hs 2014-03-23 14:15:23.118131281 +1100
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : Classes
+ Copyright : (c) Daan Leijen 2003
+@@ -28,7 +29,9 @@
+ import Data.List( sort, sortBy )
+ import qualified Data.Set as Set
+ import qualified Data.Map as Map
++#if !MIN_VERSION_base(4,6,0)
+ import Prelude hiding ( catch )
++#endif
+ import HaskellNames( haskellTypeName, isBuiltin )
+ import Types
+
+--- wxdirect-0.13.1.3-orig/src/CompileClasses.hs 2012-09-30 20:02:15.000000000 +1000
++++ wxdirect-0.13.1.3/src/CompileClasses.hs 2014-03-23 14:15:23.119131301 +1100
+@@ -89,7 +89,7 @@
+ (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
+
+ methodCount = length decls
+- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
++ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
+
+ export = concat [ ["module " ++ moduleRoot ++ moduleName
+ , " ( -- * Global" ]
+@@ -104,6 +104,9 @@
+ , "import System.IO.Unsafe( unsafePerformIO )"
+ , "import " ++ moduleRoot ++ "WxcTypes"
+ , "import " ++ moduleRoot ++ moduleClassTypesName
++ , "#if (__GLASGOW_HASKELL__>=705)"
++ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
++ , "#endif"
+ , ""
+ ]
+ ]
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch b/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch
new file mode 100644
index 000000000000..75d9bf21c726
--- /dev/null
+++ b/dev-haskell/wxdirect/files/wxdirect-0.90.0.1-ghc-7.5.patch
@@ -0,0 +1,49 @@
+--- wxdirect-0.90.0.1-orig/wxdirect.cabal 2012-04-19 01:05:11.000000000 +1000
++++ wxdirect-0.90.0.1/wxdirect.cabal 2012-05-19 21:12:02.612085338 +1000
+@@ -66,7 +66,7 @@
+ if flag(splitBase)
+ build-depends:
+ base >= 4 && < 5,
+- containers >= 0.2 && < 0.5
++ containers >= 0.2 && < 0.6
+ else
+ build-depends:
+ base >= 3 && < 4,
+--- wxdirect-0.90.0.1-orig/src/Classes.hs 2012-04-19 01:05:10.000000000 +1000
++++ wxdirect-0.90.0.1/src/Classes.hs 2012-07-14 13:58:48.072492467 +1000
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : Classes
+ Copyright : (c) Daan Leijen 2003
+@@ -28,7 +29,9 @@
+ import Data.List( sort, sortBy )
+ import qualified Data.Set as Set
+ import qualified Data.Map as Map
++#if !MIN_VERSION_base(4,6,0)
+ import Prelude hiding ( catch )
++#endif
+ import HaskellNames( haskellTypeName, isBuiltin )
+ import Types
+
+--- wxdirect-0.90.0.1-orig/src/CompileClasses.hs 2012-04-19 01:05:10.000000000 +1000
++++ wxdirect-0.90.0.1/src/CompileClasses.hs 2012-05-19 21:28:27.358052781 +1000
+@@ -89,7 +89,7 @@
+ (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
+
+ methodCount = length decls
+- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
++ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
+
+ export = concat [ ["module " ++ moduleRoot ++ moduleName
+ , " ( -- * Global" ]
+@@ -103,6 +103,9 @@
+ , "import System.IO.Unsafe( unsafePerformIO )"
+ , "import " ++ moduleRoot ++ "WxcTypes"
+ , "import " ++ moduleRoot ++ moduleClassTypesName
++ , "#if (__GLASGOW_HASKELL__>=705)"
++ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
++ , "#endif"
+ , ""
+ ]
+ ]
diff --git a/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch
new file mode 100644
index 000000000000..df29d1ba08b8
--- /dev/null
+++ b/dev-haskell/wxdirect/files/wxdirect-0.90.1.1-ghc-7.5.patch
@@ -0,0 +1,38 @@
+--- wxdirect-0.90.1.1-orig/src/Classes.hs 2014-03-23 01:08:59.000000000 +1100
++++ wxdirect-0.90.1.1/src/Classes.hs 2014-03-23 15:43:57.402011540 +1100
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP #-}
+ -----------------------------------------------------------------------------------------
+ {-| Module : Classes
+ Copyright : (c) Daan Leijen 2003
+@@ -24,6 +25,9 @@
+
+ import qualified Data.Set as Set
+ import qualified Data.Map as Map
++#if !MIN_VERSION_base(4,6,0)
++import Prelude hiding ( catch )
++#endif
+ import Text.Parsec.Prim hiding ( try )
+ import HaskellNames( haskellTypeName, isBuiltin )
+ import Types
+--- wxdirect-0.90.1.1-orig/src/CompileClasses.hs 2014-03-23 01:08:59.000000000 +1100
++++ wxdirect-0.90.1.1/src/CompileClasses.hs 2014-03-23 15:42:14.123894206 +1100
+@@ -96,7 +96,7 @@
+ (exportsStatic,exportsClassClasses,classCount) = exportDefs decls exportsClass []
+
+ methodCount = length decls
+- ghcoptions = [ "{-# LANGUAGE ForeignFunctionInterface #-}"]
++ ghcoptions = [ "{-# LANGUAGE CPP, ForeignFunctionInterface #-}"]
+
+ export = concat [ ["module " ++ moduleRoot ++ moduleName
+ , " ( -- * Global" ]
+@@ -111,6 +111,9 @@
+ , "import Foreign.C.Types(CInt(..), CWchar(..), CChar(..), CDouble(..))"
+ , "import " ++ moduleRoot ++ "WxcTypes"
+ , "import " ++ moduleRoot ++ moduleClassTypesName
++ , "#if (__GLASGOW_HASKELL__>=705)"
++ , "import Foreign.C.Types(CDouble(..), CInt(..), CWchar(..))"
++ , "#endif"
+ , ""
+ ]
+ ]
diff --git a/dev-haskell/wxdirect/metadata.xml b/dev-haskell/wxdirect/metadata.xml
new file mode 100644
index 000000000000..d523786ee0b7
--- /dev/null
+++ b/dev-haskell/wxdirect/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ wxHaskell is a portable and native GUI library for Haskell. It is built on
+ top of wxWidgets, a comprehensive C++ library that is portable across all
+ major GUI platforms, including GTK, Windows, X11, and MacOS X. This version
+ works with wxWidgets 2.8 only.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/wxdirect/wxdirect-0.13.1.2.ebuild b/dev-haskell/wxdirect/wxdirect-0.13.1.2.ebuild
new file mode 100644
index 000000000000..87656490eb87
--- /dev/null
+++ b/dev-haskell/wxdirect/wxdirect-0.13.1.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+WX_GTK_VER="2.8"
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="helper tool for building wxHaskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?]
+ <dev-haskell/parsec-4:=[profile?]
+ >=dev-haskell/strict-0.3:=[profile?]
+ <dev-haskell/strict-1.0:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+PATCHES=("${FILESDIR}/${PN}-0.13.1.2-ghc-7.6.patch")
+
+src_prepare() {
+ base_src_prepare
+ sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
+ -i "${S}/${PN}.cabal" \
+ || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
+}
diff --git a/dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild b/dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild
new file mode 100644
index 000000000000..9ef5ed2755f9
--- /dev/null
+++ b/dev-haskell/wxdirect/wxdirect-0.13.1.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+
+WX_GTK_VER="2.8"
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="helper tool for building wxHaskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?] <dev-haskell/parsec-4:=[profile?]
+ >=dev-haskell/strict-0.3:=[profile?] <dev-haskell/strict-1.0:=[profile?]
+ >=dev-lang/ghc-6.12.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8.0.2
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.13.1.3-ghc-7.6.patch")
+
+src_prepare() {
+ base_src_prepare
+ sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
+ -i "${S}/${PN}.cabal" \
+ || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
+}
diff --git a/dev-haskell/wxdirect/wxdirect-0.90.0.1.ebuild b/dev-haskell/wxdirect/wxdirect-0.90.0.1.ebuild
new file mode 100644
index 000000000000..4fe13258426c
--- /dev/null
+++ b/dev-haskell/wxdirect/wxdirect-0.90.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+WX_GTK_VER="2.9"
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="helper tool for building wxHaskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?]
+ <dev-haskell/parsec-4:=[profile?]
+ dev-haskell/strict:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+PATCHES=("${FILESDIR}/${PN}-0.90.0.1-ghc-7.5.patch")
+
+src_prepare() {
+ base_src_prepare
+ sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
+ -i "${S}/${PN}.cabal" \
+ || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
+}
diff --git a/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild b/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild
new file mode 100644
index 000000000000..5dfb9b3d514e
--- /dev/null
+++ b/dev-haskell/wxdirect/wxdirect-0.90.1.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+
+WX_GTK_VER="2.9"
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="helper tool for building wxHaskell"
+HOMEPAGE="http://haskell.org/haskellwiki/WxHaskell"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="${WX_GTK_VER}/${PV}"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/parsec-2.1.0:=[profile?] <dev-haskell/parsec-4:=[profile?]
+ dev-haskell/strict:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.90.1.1-ghc-7.5.patch")
+
+src_prepare() {
+ base_src_prepare
+ sed -e "s@executable wxdirect@executable wxdirect-${WX_GTK_VER}@" \
+ -i "${S}/${PN}.cabal" \
+ || die "Could not change ${PN}.cabal for wxdirect slot ${WX_GTK_VER}"
+ cabal_chdeps \
+ 'process >= 1.1 && < 1.2' 'process >= 1.1'
+}