# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/treewm/treewm-0.4.5.ebuild,v 1.9 2005/12/24 19:07:08 vanquirius Exp $ DESCRIPTION="WindowManager that arranges the windows in a tree (not in a list)" SRC_URI="mirror://sourceforge/treewm/${PN}-${PV}.tar.bz2" HOMEPAGE="http://treewm.sourceforge.net/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 sparc ppc" IUSE="" DEPEND="virtual/libc virtual/x11 >=sys-apps/sed-4" RDEPEND="virtual/libc virtual/x11" src_unpack() { unpack ${A} # bug 86453 sed -i -e "s:malloc:Malloc:g" "${S}"/xprop/dsimple.c } src_compile() { emake PREFIX="/usr" ROOT="${D}" || die } src_install() { cd ${S} make PREFIX="/usr" ROOT="${D}" install || die # hack for Gentoo's doc policy: cd "${D}/usr/share/doc/treewm" && dodoc * && cd .. && rm -rf treewm || die }