/[gentoo-x86]/x11-wm/ctwm/ctwm-3.7.ebuild
Gentoo

Contents of /x11-wm/ctwm/ctwm-3.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Mon Nov 8 18:47:31 2010 UTC (3 years, 9 months ago) by xarthisius
Branch: MAIN
Changes since 1.10: +3 -3 lines
media-libs/jpeg -> virtual/jpeg

(Portage version: 2.1.9.24/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-wm/ctwm/ctwm-3.7.ebuild,v 1.10 2009/08/03 10:32:20 ssuominen Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A clean, light window manager."
8 HOMEPAGE="http://ctwm.free.lp.se/"
9 SRC_URI="http://ctwm.free.lp.se/dist/${P}.tar.gz"
10
11 LICENSE="MIT"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
14 IUSE=""
15
16 RDEPEND="x11-libs/libX11
17 x11-libs/libXext
18 x11-libs/libXmu
19 x11-libs/libXpm
20 x11-libs/libXt"
21 DEPEND="${RDEPEND}
22 app-text/rman
23 virtual/jpeg
24 x11-misc/imake
25 x11-proto/xextproto
26 x11-proto/xproto"
27
28 src_compile() {
29 sed -i -e "s@\(CONFDIR =\).*@\1 /etc/X11/twm@g" Imakefile \
30 || die "sed failed"
31
32 cp Imakefile.local-template Imakefile.local
33
34 xmkmf || die "xmkmf failed"
35 make TWMDIR=/usr/share/${PN} || die "make failed"
36 }
37
38 src_install() {
39 make BINDIR=/usr/bin \
40 MANPATH=/usr/share/man \
41 TWMDIR=/usr/share/${PN} \
42 DESTDIR="${D}" install || die "make install failed"
43
44 make MANPATH=/usr/share/man \
45 DOCHTMLDIR=/usr/share/doc/${PF}/html \
46 DESTDIR="${D}" install.man || die "make install.man failed"
47
48 echo "#!/bin/sh" > ${T}/ctwm
49 echo "/usr/bin/ctwm" >> ${T}/ctwm
50
51 exeinto /etc/X11/Sessions
52 doexe "${T}"/ctwm
53
54 dodoc CHANGES README* TODO* PROBLEMS
55 dodoc *.ctwmrc*
56 }

  ViewVC Help
Powered by ViewVC 1.1.20