# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/aewm/aewm-1.2.7.ebuild,v 1.1 2006/11/16 01:25:11 omp Exp $ DESCRIPTION="A minimalistic X11 window manager." HOMEPAGE="http://www.red-bean.com/~decklin/software/aewm/" SRC_URI="http://www.red-bean.com/~decklin/software/aewm/${P}.tar.gz" LICENSE="aewm" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" RDEPEND="x11-libs/libX11 x11-libs/libXt x11-libs/libXaw x11-libs/libXft x11-libs/libXext" DEPEND="${RDEPEND} x11-proto/xproto x11-proto/xextproto" src_unpack() { unpack ${A} cd "${S}" # Add freetype support. sed -i \ -e '24,26s/^#//' \ src/Makefile # Change default font. sed -i \ -e 's/lucidasans-10/-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*/' \ src/aewmrc.sample } src_install() { dodir /usr/bin dodir /usr/share/man/man1 emake \ DESTDIR="${D}" \ MANDIR="${D}/usr/share/man/man1" \ XROOT="/usr" \ install || die "emake install failed" dodoc DESIGN NEWS README TODO }