Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 485986 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-text/active-dvi/active-dvi-1.10.2.ebuild (-9 / +9 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.10.2.ebuild,v 1.3 2012/07/24 10:52:22 johu Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.10.2.ebuild,v 1.3 2012/07/24 10:52:22 johu Exp $
4
4
5
EAPI="2"
5
EAPI="5"
6
6
7
inherit eutils autotools texlive-common
7
inherit eutils autotools texlive-common
8
8
Lines 19-26 Link Here
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="~amd64 ~ppc x86"
20
KEYWORDS="~amd64 ~ppc x86"
21
21
22
RDEPEND=">=dev-lang/ocaml-3.11.2[ocamlopt?]
22
RDEPEND=">=dev-lang/ocaml-3.11.2:=[ocamlopt?]
23
	>=dev-ml/camlimages-4.0.1[truetype,tiff,jpeg,postscript,X]
23
	>=dev-ml/camlimages-4.0.1:=[truetype,tiff,jpeg,postscript,X]
24
	virtual/latex-base
24
	virtual/latex-base
25
	app-text/ghostscript-gpl
25
	app-text/ghostscript-gpl
26
	x11-libs/libXinerama"
26
	x11-libs/libXinerama"
Lines 41-58 Link Here
41
}
41
}
42
42
43
src_configure() {
43
src_configure() {
44
	TEXMFMAIN=/usr/share/texmf-site econf $(use_enable ocamlopt native-program) \
44
	TEXMFMAIN="${EPREFIX}"/usr/share/texmf-site econf $(use_enable ocamlopt native-program) \
45
		--docdir="/usr/share/doc/${PF}"
45
		--docdir="${EPREFIX}/usr/share/doc/${PF}"
46
}
46
}
47
47
48
src_compile() {
48
src_compile() {
49
	emake || die "emake failed"
49
	emake
50
	cd doc
50
	cd doc || die
51
	VARTEXFONTS="${T}/fonts" emake splash.dvi scratch_write_splash.dvi scratch_draw_splash.dvi || die "failed to create documentation"
51
	VARTEXFONTS="${T}/fonts" emake splash.dvi scratch_write_splash.dvi scratch_draw_splash.dvi
52
}
52
}
53
53
54
src_install() {
54
src_install() {
55
	emake DESTDIR="${D}" PACKAGE="${PF}" install || die
55
	emake DESTDIR="${D}" PACKAGE="${PF}" install
56
56
57
	# now install the documentation
57
	# now install the documentation
58
	dodoc ${DOCS}
58
	dodoc ${DOCS}

Return to bug 485986