# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 CABAL_FEATURES="" inherit git-r3 haskell-cabal DESCRIPTION="Convert adblock config files to privoxy format - Fork with additional changes" HOMEPAGE="https://github.com/essandess/adblock2privoxy" EGIT_REPO_URI="https://github.com/essandess/adblock2privoxy.git" LICENSE="GPL-3" KEYWORDS="~amd64 ~x86" IUSE="apache nginx" SLOT="0" RDEPEND="net-proxy/privoxy dev-haskell/case-insensitive:= dev-haskell/http-conduit:= dev-haskell/missingh:= dev-haskell/mtl:= >=dev-haskell/network-2.4:= dev-haskell/network-uri:= >=dev-haskell/old-locale-1.0:= dev-haskell/parsec:= >=dev-haskell/parsec-permutation-0.1.2.0:= >=dev-haskell/strict-0.3:= >=dev-haskell/text-0.11:= >=dev-lang/ghc-7.4.1:= apache? ( www-servers/apache ) nginx? ( www-servers/nginx ) " DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10 " DOCS="../README.md *.rst changelog" S="${WORKDIR}/${P}/${PN}" haskell-cabal_src_install() { pushd "${S}" > /dev/null || die cabal_src_install popd > /dev/null || die dodoc ${DOCS} doman man/man1/${PN}.1 }