summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/bnfc')
-rw-r--r--dev-util/bnfc/ChangeLog7
-rw-r--r--dev-util/bnfc/bnfc-2.1.2.ebuild13
-rw-r--r--dev-util/bnfc/bnfc-2.2.ebuild9
3 files changed, 16 insertions, 13 deletions
diff --git a/dev-util/bnfc/ChangeLog b/dev-util/bnfc/ChangeLog
index 9ce228636205..8ac99417b462 100644
--- a/dev-util/bnfc/ChangeLog
+++ b/dev-util/bnfc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/bnfc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/ChangeLog,v 1.8 2008/03/12 13:06:18 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/ChangeLog,v 1.9 2008/07/07 18:44:24 kolmodin Exp $
+
+ 07 Jul 2008; Lennart Kolmodin <kolmodin@gentoo.org> bnfc-2.1.2.ebuild,
+ bnfc-2.2.ebuild:
+ Changed virtual/tetex dependency into virtual/latex-base, see #222501.
+ Make sure the pdf doesn't get compressed.
12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Andres Loeh (kosmikus, #200333) from metadata.xml.
diff --git a/dev-util/bnfc/bnfc-2.1.2.ebuild b/dev-util/bnfc/bnfc-2.1.2.ebuild
index 2b8e2a076bee..34afdaa35773 100644
--- a/dev-util/bnfc/bnfc-2.1.2.ebuild
+++ b/dev-util/bnfc/bnfc-2.1.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.1.2.ebuild,v 1.5 2007/10/31 13:19:47 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.1.2.ebuild,v 1.6 2008/07/07 18:44:24 kolmodin Exp $
DESCRIPTION="BNF Converter -- a sophisticated parser generator"
HOMEPAGE="http://www.cs.chalmers.se/~markus/BNFC/"
@@ -13,16 +13,12 @@ IUSE="doc"
DEPEND=">=dev-lang/ghc-6.2
!>=dev-lang/ghc-6.6
- doc? ( virtual/tetex )"
+ doc? ( virtual/latex-base )"
RDEPEND="virtual/libc"
S="${WORKDIR}/BNFC"
-src_unpack() {
- unpack ${A}
-}
-
src_compile() {
emake GHC_OPTS=-O || die "emake failed"
}
@@ -33,6 +29,7 @@ src_install() {
cd doc
pdflatex LBNF-report.tex
pdflatex LBNF-report.tex
- dodoc LBNF-report.pdf
+ insinto "/usr/share/doc/${P}"
+ doins LBNF-report.pdf
fi
}
diff --git a/dev-util/bnfc/bnfc-2.2.ebuild b/dev-util/bnfc/bnfc-2.2.ebuild
index d9e13e11319a..c6dbc93e4603 100644
--- a/dev-util/bnfc/bnfc-2.2.ebuild
+++ b/dev-util/bnfc/bnfc-2.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.2.ebuild,v 1.4 2007/10/31 13:19:47 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bnfc/bnfc-2.2.ebuild,v 1.5 2008/07/07 18:44:24 kolmodin Exp $
inherit base ghc-package eutils
@@ -16,7 +16,7 @@ KEYWORDS="~x86 ~ppc"
IUSE="doc"
DEPEND=">=dev-lang/ghc-6.2
- doc? ( virtual/tetex )"
+ doc? ( virtual/latex-base )"
RDEPEND="virtual/libc"
@@ -41,6 +41,7 @@ src_install() {
dobin bnfc
if use doc ; then
cd doc
- dodoc LBNF-report.pdf
+ insinto "/usr/share/doc/${P}"
+ doins LBNF-report.pdf
fi
}