Lines 12-18
Link Here
|
12 |
SLOT="0" |
12 |
SLOT="0" |
13 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
13 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
14 |
|
14 |
|
15 |
IUSE="doc lyx" |
15 |
IUSE="doc examples lyx" |
16 |
|
16 |
|
17 |
DEPEND="lyx? ( app-office/lyx ) |
17 |
DEPEND="lyx? ( app-office/lyx ) |
18 |
|| ( dev-texlive/texlive-latex >=app-text/tetex-3.0 )" |
18 |
|| ( dev-texlive/texlive-latex >=app-text/tetex-3.0 )" |
Lines 32-45
Link Here
|
32 |
fi |
32 |
fi |
33 |
|
33 |
|
34 |
dodoc AUTHORS ChangeLog README TODO doc/licenses/LICENSE |
34 |
dodoc AUTHORS ChangeLog README TODO doc/licenses/LICENSE |
|
|
35 |
|
35 |
if use doc ; then |
36 |
if use doc ; then |
36 |
insinto "${ROOT}"/usr/share/doc/${PF} |
37 |
insinto "${ROOT}"/usr/share/doc/${PF}/doc |
37 |
doins doc/* || die "could not install doc" |
38 |
doins doc/* || die "could not install doc" |
|
|
39 |
fi |
38 |
|
40 |
|
|
|
41 |
if use examples ; then |
42 |
rm "${S}"/examples/a-lecture/{*.tex~,._beamerexample-*} |
39 |
insinto "${ROOT}"/usr/share/doc/${PF} |
43 |
insinto "${ROOT}"/usr/share/doc/${PF} |
40 |
doins -r examples emulation/examples solutions || \ |
44 |
doins -r examples emulation solutions || \ |
41 |
die "could not install doc" |
45 |
die "could not install examples" |
42 |
|
|
|
43 |
prepalldocs |
44 |
fi |
46 |
fi |
45 |
} |
47 |
} |