Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 428570
Collapse All | Expand All

(-)kterm-6.2.0-r5.ebuild.orig (-9 / +7 lines)
Lines 2-7 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/x11-terms/kterm/kterm-6.2.0-r5.ebuild,v 1.7 2012/05/31 08:27:25 ago Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-terms/kterm/kterm-6.2.0-r5.ebuild,v 1.7 2012/05/31 08:27:25 ago Exp $
4
4
5
EAPI=4
6
5
inherit eutils flag-o-matic toolchain-funcs
7
inherit eutils flag-o-matic toolchain-funcs
6
8
7
DESCRIPTION="Japanese Kanji X Terminal"
9
DESCRIPTION="Japanese Kanji X Terminal"
Lines 13-19 Link Here
13
15
14
LICENSE="MIT as-is"
16
LICENSE="MIT as-is"
15
SLOT="0"
17
SLOT="0"
16
KEYWORDS="-alpha amd64 ppc ~sparc x86"
18
KEYWORDS="-alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
17
IUSE="Xaw3d"
19
IUSE="Xaw3d"
18
20
19
RDEPEND="app-text/rman
21
RDEPEND="app-text/rman
Lines 28-37 Link Here
28
	x11-misc/gccmakedep
30
	x11-misc/gccmakedep
29
	x11-misc/imake"
31
	x11-misc/imake"
30
32
31
src_unpack(){
33
src_prepare(){
32
	unpack ${A}
33
34
	cd "${S}"
35
	epatch "${WORKDIR}"/${P}-wpi.patch		# wallpaper patch
34
	epatch "${WORKDIR}"/${P}-wpi.patch		# wallpaper patch
36
	epatch "${WORKDIR}"/${P}.ext02.patch		# JIS 0213 support
35
	epatch "${WORKDIR}"/${P}.ext02.patch		# JIS 0213 support
37
	epatch "${FILESDIR}"/${P}-openpty.patch
36
	epatch "${FILESDIR}"/${P}-openpty.patch
Lines 47-58 Link Here
47
src_compile(){
46
src_compile(){
48
	xmkmf -a || die
47
	xmkmf -a || die
49
	emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" \
48
	emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" \
50
		XAPPLOADDIR=/usr/share/X11/app-defaults || die "emake failed"
49
		XAPPLOADDIR="${EPREFIX}"/usr/share/X11/app-defaults
51
}
50
}
52
51
53
src_install(){
52
src_install(){
54
	emake DESTDIR="${D}" BINDIR=/usr/bin \
53
	emake DESTDIR="${D}" BINDIR="${EPREFIX}"/usr/bin XAPPLOADDIR="${EPREFIX}"/usr/share/X11/app-defaults install
55
		XAPPLOADDIR=/usr/share/X11/app-defaults install || die
56
54
57
	# install man pages
55
	# install man pages
58
	newman kterm.man kterm.1
56
	newman kterm.man kterm.1
Lines 61-67 Link Here
61
	newins kterm.ja.1 kterm.1
59
	newins kterm.ja.1 kterm.1
62
60
63
	# Remove link to avoid collision
61
	# Remove link to avoid collision
64
	rm -f "${D}"/usr/lib/X11/app-defaults
62
	rm -f "${ED}"/usr/lib/X11/app-defaults
65
63
66
	dodoc README.kt
64
	dodoc README.kt
67
}
65
}

Return to bug 428570