summaryrefslogtreecommitdiff
blob: 01bfe74012bc1f3ee8cb87d0135900fbe0969ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmi/wmi-9.ebuild,v 1.2 2004/08/30 19:19:31 pvdabeel Exp $

DESCRIPTION="WMI is a new window manager for X11, which combines the best features of larswm, ion, evilwm and ratpoison into one window manager."
SRC_URI="http://download.berlios.de/wmi/${P}.tar.gz"
HOMEPAGE="http://wmi.berlios.de/"
LICENSE="as-is"
DEPEND="virtual/x11
	dev-libs/STLport
	dev-libs/expat
	media-libs/fontconfig
	media-libs/freetype"
KEYWORDS="~x86 ppc"
SLOT="0"
IUSE=""

src_compile() {
	econf --with-slot-support --with-xft-support || die
	emake || die
}

src_install () {
	make install DESTDIR=${D} || die

	dodoc AUTHORS BUGS CONTRIB COPYING ChangeLog FAQ INSTALL LICENSE.txt \
		  NEWS README TODO

	docinto examples
	dodoc examples/*

	docinto examples/themes
	dodoc examples/themes/*

	echo -e "#!/bin/sh\n/usr/bin/wmi" > ${T}/wmi
	exeinto /etc/X11/Sessions
	doexe ${T}/wmi

	insinto /usr/share/xsessions
	doins ${FILESDIR}/wmi.desktop
}