blob: 48848d130272621607ebc6151610a38560c2c522 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tex/lgrind/lgrind-3.67.ebuild,v 1.1 2003/10/02 15:28:23 obz Exp $
inherit latex-package
DESCRIPTION="A source pretty printer for LaTeX - styles to stylise your source and code examples."
SRC_URI="mirror://gentoo/${PN}.tar.gz"
LICENSE="as-is"
IUSE=""
SLOT="0"
KEYWORDS="~x86"
S=${WORKDIR}/${PN}
src_compile() {
cd ${S}/source
emake || die "Error compiling lgrind executable"
latex-package_src_compile
}
src_install() {
# binary first
dobin source/lgrind
# then the texmf stuff
latex-package_src_install
insinto /usr/share/texmf/tex/latex/${PN}
doins lgrindef
# and finally, the documentation
dodoc FAQ README
docinto examples/
dodoc example/*
cd ${S}/source
doman lgrind.1 lgrindef.5
}
|