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

Collapse All | Expand All

(-)/usr/portage/kde-base/kdvi/kdvi-3.5.5.ebuild (-3 / +19 lines)
Lines 5-25 Link Here
5
KMNAME=kdegraphics
5
KMNAME=kdegraphics
6
MAXKDEVER=$PV
6
MAXKDEVER=$PV
7
KM_DEPRANGE="$PV $MAXKDEVER"
7
KM_DEPRANGE="$PV $MAXKDEVER"
8
inherit kde-meta eutils
8
inherit kde-meta elisp-common eutils
9
9
10
DESCRIPTION="KDE DVI viewer"
10
DESCRIPTION="KDE DVI viewer"
11
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
11
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
12
IUSE="tetex"
12
IUSE="emacs tetex"
13
13
14
DEPEND="
14
DEPEND="
15
$(deprange $PV $MAXKDEVER kde-base/kviewshell)
15
$(deprange $PV $MAXKDEVER kde-base/kviewshell)
16
emacs? ( virtual/emacs )
16
>=media-libs/freetype-2"
17
>=media-libs/freetype-2"
17
RDEPEND="${DEPEND}
18
RDEPEND="${DEPEND}
18
	tetex? (
19
	tetex? (
19
	|| ( >=app-text/tetex-2
20
	|| ( virtual/tetex
20
	app-text/ptex
21
	app-text/ptex
21
	app-text/cstetex
22
	app-text/cstetex
22
	app-text/dvipdfm )
23
	app-text/dvipdfm )
23
	)"
24
	)"
24
25
25
KMCOMPILEONLY="kviewshell/"
26
KMCOMPILEONLY="kviewshell/"
27
28
src_install() {
29
        kde-meta_src_install
30
        if use emacs; then
31
                elisp-site-file-install doc/kdvi/kdvi-search.el
32
                elisp-site-file-install ${FILESDIR}/50kdvi-gentoo.el
33
        fi
34
}
35
36
pkg_postinst() {
37
        if use emacs; then
38
                einfo "Running elisp-site-regen...."
39
                elisp-site-regen
40
        fi
41
}

Return to bug 116737