/[gentoo-x86]/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild
Gentoo

Diff of /x11-terms/rxvt/rxvt-2.7.10-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 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/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild,v 1.11 2014/08/30 12:07:41 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild,v 1.12 2015/02/20 14:41:26 mrueg Exp $
4 4
5EAPI=1 5EAPI=5
6 6
7inherit eutils flag-o-matic libtool toolchain-funcs 7inherit eutils flag-o-matic libtool toolchain-funcs
8 8
9DESCRIPTION="rxvt -- nice small x11 terminal" 9DESCRIPTION="A nice small x11 terminal"
10HOMEPAGE="http://rxvt.sourceforge.net/ 10HOMEPAGE="http://rxvt.sourceforge.net/
11 http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/" 11 http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/"
12SRC_URI="mirror://sourceforge/rxvt/${P}.tar.gz 12SRC_URI="mirror://sourceforge/rxvt/${P}.tar.gz
13 http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/${P}-xim-fix.patch.gz" 13 http://www.giga.it.okayama-u.ac.jp/~ishihara/opensource/${P}-xim-fix.patch.gz"
14 14
22 x11-libs/libXext 22 x11-libs/libXext
23 motif? ( >=x11-libs/motif-2.3:0 )" 23 motif? ( >=x11-libs/motif-2.3:0 )"
24DEPEND="${RDEPEND} 24DEPEND="${RDEPEND}
25 x11-proto/xproto" 25 x11-proto/xproto"
26 26
27src_unpack() { 27src_prepare() {
28 unpack "${P}.tar.gz"
29 cd "${S}"
30
31 tc-export AR 28 tc-export AR
32 29
33 epatch "${FILESDIR}"/${P}-line-scroll.patch 30 epatch "${FILESDIR}"/${P}-line-scroll.patch\
34 epatch "${FILESDIR}"/${P}-asneeded.patch 31 "${FILESDIR}"/${P}-asneeded.patch
35 use motif && epatch "${FILESDIR}"/${P}-azz4.diff 32 use motif && epatch "${FILESDIR}"/${P}-azz4.diff
36 if use cjk ; then 33 if use cjk ; then
37 epatch "${DISTDIR}"/${P}-xim-fix.patch.gz 34 epatch "${DISTDIR}"/${P}-xim-fix.patch.gz
38 if use linguas_ja ; then 35 if use linguas_ja ; then
39 epatch "${FILESDIR}"/${P}-rk.patch 36 epatch "${FILESDIR}"/${P}-rk.patch
72 $(use_enable cjk languages) \ 69 $(use_enable cjk languages) \
73 --enable-xim \ 70 --enable-xim \
74 --enable-shared \ 71 --enable-shared \
75 --enable-keepscrolling \ 72 --enable-keepscrolling \
76 --with-term=${term} \ 73 --with-term=${term} \
77 $(use_enable xgetdefault) || die 74 $(use_enable xgetdefault)
78
79 emake || die
80} 75}
81 76
82src_install() { 77src_install() {
83 emake DESTDIR="${D}" install || die 78 emake DESTDIR="${D}" install
84 79
85 cd "${S}"/doc 80 cd "${S}"/doc
86 dodoc README* *.txt BUGS FAQ 81 dodoc README* *.txt BUGS FAQ
87 dohtml *.html 82 dohtml *.html
88} 83}

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20