# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: xxx $ DESCRIPTION="Tiling window manager for X11, based on 9wm by David Hogan. It provides virtual desktops, support for tiled and untiled windows, keyboard shortcuts and more, while using very little system resources." HOMEPAGE="http://larswm.fnurt.net/" SRC_URI="http://larswm.fnurt.net/${P}.tar.gz" LICENSE="9wm" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="virtual/x11" S=${WORKDIR}/${P} src_compile() { xmkmf -a emake || die for x in *.man; do mv $x `basename $x .man`.1; done grep -v ssh-agent sample.xsession > larswm-session chmod +x larswm-session } src_install() { dobin larsclock larsmenu larsremote larswm larswm-session doman *.1 dodoc ChangeLog README* sample.* dodir /etc/X11 cat sample.larswmrc > ${D}etc/X11/larswmrc dodir /usr/share/xsessions cat > ${D}usr/share/xsessions/larswm.desktop <