/[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.6 Revision 1.7
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 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.6 2008/05/05 13:49:38 ranger Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-terms/rxvt/rxvt-2.7.10-r4.ebuild,v 1.7 2009/09/23 15:02:37 ssuominen Exp $
4 4
5inherit eutils flag-o-matic libtool 5inherit eutils flag-o-matic libtool
6 6
7DESCRIPTION="rxvt -- nice small x11 terminal" 7DESCRIPTION="rxvt -- nice small x11 terminal"
8HOMEPAGE="http://rxvt.sourceforge.net/ 8HOMEPAGE="http://rxvt.sourceforge.net/
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86" 15KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
16IUSE="motif cjk xgetdefault linuxkeys" 16IUSE="motif cjk xgetdefault linuxkeys"
17 17
18RDEPEND="virtual/libc
19 x11-libs/libX11 18RDEPEND="x11-libs/libX11
20 x11-libs/libXpm 19 x11-libs/libXpm
21 x11-libs/libXext 20 x11-libs/libXext
22 motif? ( x11-libs/openmotif )" 21 motif? ( x11-libs/openmotif )"
23DEPEND="${RDEPEND} 22DEPEND="${RDEPEND}
24 x11-proto/xproto" 23 x11-proto/xproto"
40 epatch "${FILESDIR}"/${P}-CVE-2008-1142-DISPLAY.patch 39 epatch "${FILESDIR}"/${P}-CVE-2008-1142-DISPLAY.patch
41 elibtoolize 40 elibtoolize
42} 41}
43 42
44src_compile() { 43src_compile() {
45
46 local term 44 local term
47 if [ -n "${RXVT_TERM}" ] ; then 45 if [ -n "${RXVT_TERM}" ] ; then
48 term="${RXVT_TERM}" 46 term="${RXVT_TERM}"
49 else 47 else
50 term="rxvt" 48 term="rxvt"
76 74
77 emake || die 75 emake || die
78} 76}
79 77
80src_install() { 78src_install() {
81
82 einstall mandir="${D}"/usr/share/man/man1 || die 79 einstall mandir="${D}"/usr/share/man/man1 || die
83 80
84 cd "${S}"/doc 81 cd "${S}"/doc
85 dodoc README* *.txt BUGS FAQ 82 dodoc README* *.txt BUGS FAQ
86 dohtml *.html 83 dohtml *.html
87} 84}
88 85
89pkg_postinst() { 86pkg_postinst() {
90
91 einfo 87 einfo
92 einfo "If you want to change default TERM variable other than rxvt," 88 einfo "If you want to change default TERM variable other than rxvt,"
93 einfo "set RXVT_TERM environment variable and then emerge rxvt." 89 einfo "set RXVT_TERM environment variable and then emerge rxvt."
94 einfo "Especially, if you use rxvt under monochrome X you might need to run" 90 einfo "Especially, if you use rxvt under monochrome X you might need to run"
95 einfo "\t RXVT_TERM=rxvt-basic emerge rxvt" 91 einfo "\t RXVT_TERM=rxvt-basic emerge rxvt"

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20