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.0.ebuild (-4 / +20 lines)
Lines 1-19 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
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/kde-base/kdvi/kdvi-3.5.0.ebuild,v 1.5 2005/12/17 13:25:44 corsair Exp $
3
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdvi/kdvi-3.5.0-r1.ebuild,v 1.5 2005/12/25 13:25:44 corsair Exp $
4
4
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 elisp-common kde-meta eutils
9
9
10
DESCRIPTION="KDE DVI viewer"
10
DESCRIPTION="KDE DVI viewer"
11
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
11
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
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
>=media-libs/freetype-2"
16
>=media-libs/freetype-2
17
emacs? ( virtual/emacs )"
17
RDEPEND="${DEPEND}
18
RDEPEND="${DEPEND}
18
	tetex? (
19
	tetex? (
19
	|| ( >=app-text/tetex-2
20
	|| ( >=app-text/tetex-2
Lines 23-25 Link Here
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