# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/blwm/blwm-1.0.4.ebuild,v 1.1 2004/11/07 13:14:04 usata Exp $ DESCRIPTION="BLWM is a Windows 2000 like window manager localized for Brazil." HOMEPAGE="http://www.blanes.com.br" SRC_URI="http://labdid.if.usp.br/~blanes/arquivos/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="virtual/x11" DEPEND="${RDEPEND} sys-devel/autoconf sys-devel/automake sys-devel/flex sys-devel/bison" src_compile(){ aclocal || die autoheader || die autoconf || die automake || die econf --with-blwmdir=/usr/share/blwm --with-confdir=/etc/blwm || die emake || die } src_install(){ make DESTDIR=${D} install || die dodoc doc/* insinto /etc/skel newins rc/system.blwmrc .blwmrc exeinto /etc/X11/Sessions echo "#!/bin/bash" > blwm echo "/usr/bin/blwm" >> blwm doexe blwm }