summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2008-07-07 18:44:24 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2008-07-07 18:44:24 +0000
commit02f92bf926a0d0bddec7bf38b5e088bb6964345f (patch)
treeb68b6cae1e9e3ea24136df869e944491c2433e3e /dev-util/bnfc/bnfc-2.1.2.ebuild
parentVersion bump (diff)
downloadhistorical-02f92bf926a0d0bddec7bf38b5e088bb6964345f.tar.gz
historical-02f92bf926a0d0bddec7bf38b5e088bb6964345f.tar.bz2
historical-02f92bf926a0d0bddec7bf38b5e088bb6964345f.zip
Change virtual/tetex dep into virtual/latex-base for dev-util/bnfc.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-util/bnfc/bnfc-2.1.2.ebuild')
-rw-r--r--dev-util/bnfc/bnfc-2.1.2.ebuild13
1 files changed, 5 insertions, 8 deletions
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
}