/[gentoo-x86]/x11-terms/xterm/xterm-315.ebuild
Gentoo

Contents of /x11-terms/xterm/xterm-315.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 26 16:45:43 2015 UTC (3 years, 5 months ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-terms/xterm/xterm-314.ebuild,v 1.10 2015/03/14 14:30:35 maekke Exp $
4
5 EAPI=5
6
7 inherit eutils flag-o-matic multilib
8
9 DESCRIPTION="Terminal Emulator for X Windows"
10 HOMEPAGE="http://invisible-island.net/xterm/"
11 SRC_URI="ftp://invisible-island.net/${PN}/${P}.tgz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16 IUSE="+openpty toolbar truetype unicode Xaw3d"
17
18 COMMON_DEPEND="kernel_linux? ( sys-libs/libutempter )
19 kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
20 >=sys-libs/ncurses-5.7-r7
21 x11-apps/xmessage
22 x11-libs/libX11
23 x11-libs/libXaw
24 x11-libs/libXft
25 x11-libs/libxkbfile
26 x11-libs/libXmu
27 x11-libs/libXrender
28 x11-libs/libXt
29 unicode? ( x11-apps/luit )
30 Xaw3d? ( x11-libs/libXaw3d )"
31 RDEPEND="${COMMON_DEPEND}
32 media-fonts/font-misc-misc"
33 DEPEND="${COMMON_DEPEND}
34 virtual/pkgconfig
35 x11-proto/kbproto
36 x11-proto/xproto"
37
38 DOCS=( README{,.i18n} ctlseqs.txt )
39
40 pkg_setup() {
41 DEFAULTS_DIR="${EPREFIX}"/usr/share/X11/app-defaults
42 }
43
44 src_configure() {
45 # 454736
46 # Workaround for ncurses[tinfo] until upstream fixes their buildsystem using
47 # something sane like pkg-config or ncurses5-config and stops guessing libs
48 # Everything gets linked against ncurses anyways, so don't shout
49 append-libs $(pkg-config --libs ncurses)
50
51 econf \
52 --libdir="${EPREFIX}"/etc \
53 --disable-full-tgetent \
54 --with-app-defaults="${DEFAULTS_DIR}" \
55 --disable-setuid \
56 --disable-setgid \
57 --with-utempter \
58 --with-x \
59 $(use_with Xaw3d) \
60 --disable-imake \
61 --enable-256-color \
62 --enable-broken-osc \
63 --enable-broken-st \
64 --enable-exec-xterm \
65 $(use_enable truetype freetype) \
66 --enable-i18n \
67 --enable-load-vt-fonts \
68 --enable-logging \
69 $(use_enable openpty) \
70 $(use_enable toolbar) \
71 $(use_enable unicode mini-luit) \
72 $(use_enable unicode luit) \
73 --enable-wide-chars \
74 --enable-dabbrev \
75 --enable-warnings
76 }
77
78 src_install() {
79 default
80
81 dohtml xterm.log.html
82 domenu *.desktop
83
84 # Fix permissions -- it grabs them from live system, and they can
85 # be suid or sgid like they were in pre-unix98 pty or pre-utempter days,
86 # respectively (#69510).
87 # (info from Thomas Dickey) - Donnie Berkholz <spyderous@gentoo.org>
88 fperms 0755 /usr/bin/xterm
89
90 # restore the navy blue
91 sed -i -e "s:blue2$:blue:" "${D}${DEFAULTS_DIR}"/XTerm-color || die
92 }

  ViewVC Help
Powered by ViewVC 1.1.20