blob: d3b4f094abb7bbe6360c330f0f4c11a8e19d2d94 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlweb/ocamlweb-1.34.ebuild,v 1.2 2004/06/25 00:03:08 agriffis Exp $
DESCRIPTION="O'Caml literate programming tool"
HOMEPAGE="http://www.lri.fr/~filliatr/ocamlweb/"
SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlweb/${P}.tar.gz"
IUSE=""
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
DEPEND=">=dev-lang/ocaml-3.06
virtual/tetex"
src_compile() {
econf || die
emake || die
}
src_install() {
emake UPDATETEX="" prefix=${D}/usr MANDIR=${D}/usr/share/man install || die
dodoc README COPYING CHANGES
}
tex_regen() {
einfo "Regenerating TeX database..."
/usr/bin/mktexlsr /usr/share/texmf /var/spool/texmf > /dev/null
eend $?
}
pkg_postinst() {
tex_regen
}
pkg_postrm() {
tex_regen
}
|