summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2010-08-01 12:10:47 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2010-08-01 12:10:47 +0000
commit506db6f4703677e03f7752fdb81c5c07a6d7ba0d (patch)
tree5e79f85ec52428ac6fba5e15593265f00e53ec38 /dev-haskell
parentx86 stable, bug 324077 (diff)
downloadgentoo-2-506db6f4703677e03f7752fdb81c5c07a6d7ba0d.tar.gz
gentoo-2-506db6f4703677e03f7752fdb81c5c07a6d7ba0d.tar.bz2
gentoo-2-506db6f4703677e03f7752fdb81c5c07a6d7ba0d.zip
Remove hugs98 from build depends (USE=doc case) and switch to prebult .pdf documentation.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/lhs2tex/ChangeLog6
-rw-r--r--dev-haskell/lhs2tex/lhs2tex-1.11.ebuild12
2 files changed, 9 insertions, 9 deletions
diff --git a/dev-haskell/lhs2tex/ChangeLog b/dev-haskell/lhs2tex/ChangeLog
index eee18eb7e419..1b009f4d5b1f 100644
--- a/dev-haskell/lhs2tex/ChangeLog
+++ b/dev-haskell/lhs2tex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-haskell/lhs2tex
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/ChangeLog,v 1.24 2010/08/01 11:40:42 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/ChangeLog,v 1.25 2010/08/01 12:10:47 slyfox Exp $
+
+ 01 Aug 2010; Sergei Trofimovich <slyfox@gentoo.org> lhs2tex-1.11.ebuild:
+ Remove hugs98 from build depends (USE=doc case) and switch to prebult .pdf
+ documentation.
01 Aug 2010; Sergei Trofimovich <slyfox@gentoo.org>
-lhs2tex-1.10_pre.ebuild:
diff --git a/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild b/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild
index e8d24875a7bc..17b13d50b9b3 100644
--- a/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild
+++ b/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild,v 1.11 2008/09/03 21:03:25 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lhs2tex/lhs2tex-1.11.ebuild,v 1.12 2010/08/01 12:10:47 slyfox Exp $
DESCRIPTION="Preprocessor for typesetting Haskell sources with LaTeX"
HOMEPAGE="http://www.iai.uni-bonn.de/~loeh/lhs2tex"
@@ -15,8 +15,7 @@ S="${WORKDIR}/${P/_pre/pre}"
DEPEND=">=dev-tex/polytable-0.8.2
<dev-lang/ghc-6.8
- =dev-haskell/cabal-1.1.6*
- doc? ( dev-lang/hugs98 virtual/latex-base )"
+ =dev-haskell/cabal-1.1.6*"
RDEPEND=">=dev-tex/polytable-0.8.2"
@@ -28,14 +27,11 @@ src_unpack() {
src_compile() {
# polytable is installed separately
econf --disable-polytable || die "econf failed"
- # if doc is set, we build the documentation instead
- # of using the prebuilt file
- use doc && rm doc/Guide2.dontbuild
emake -j1 || die "make failed"
}
src_install () {
DESTDIR="${D}" emake -j1 install || die "installation failed"
- dodoc doc/Guide2.pdf
+ use doc || rm "${D}/usr/share/doc/${P}/Guide2.pdf"
dodoc INSTALL RELEASE
}