# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A version of fvwm2 modified to simulate the Windows 95 look & feel" HOMEPAGE="http://fvwm95.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11" src_unpack() { unpack ${A} cd ${S} epatch "${FILESDIR}/${P}-makeinstall-destdir.patch" } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die # this borrowed from the enlightenment ebuild exeinto /etc/X11/Sessions doexe "${FILESDIR}"/fvwm95 dodoc Changelog INSTALL README* docs/{color_combos,error_codes} sed -i 's/html\///' docs/index.html dohtml docs/index.html docs/html/* }