# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.6.7.9999 #hackport: flags: +network-bsd CABAL_FEATURES="lib profile haddock hoogle hscolour" inherit haskell-cabal MY_PN="HaskellNet" MY_P="${MY_PN}-${PV}" DESCRIPTION="Client support for POP3, SMTP, and IMAP" HOMEPAGE="https://github.com/jtdaugherty/HaskellNet" SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" RDEPEND="dev-haskell/base64-string:=[profile?] >=dev-haskell/cryptohash-0.6:=[profile?] >=dev-haskell/fail-4.9.0.0:=[profile?] =dev-haskell/mime-mail-0.4.7:=[profile?] =dev-lang/ghc-7.8.2:= >=dev-haskell/network-2.7:=[profile?] =dev-haskell/network-bsd-2.7:=[profile?] = 4.3 && < 4.14' 'base >= 4.3' } src_configure() { haskell-cabal_src_configure \ --flag=network-bsd }