# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/pekwm/pekwm-0.1.3-r1.ebuild,v 1.1 2003/07/27 15:10:43 bcowan Exp $ IUSE="" S="${WORKDIR}/${P}" DESCRIPTION="A small window mananger based on aewm++" HOMEPAGE="http://pekwm.pekdon.net/" SRC_URI="http://pekwm.pekdon.net/files/source/${P}.tar.gz mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND="dev-util/pkgconfig virtual/x11 perl? dev-libs/libpcre" src_compile() { if pkg-config xft then myconf="${myconf} --disable-xft" else myconf="${myconf} --enable-xft" fi use perl \ && myconf="${myconf} --enable-pcre" \ || myconf="${myconf} --disable-pcre" econf \ --enable-xinerama \ --enable-harbour \ ${myconf} || die emake || die } src_install() { exeinto /usr/bin doexe src/pekwm insinto /usr/share/${PN}/themes/default doins data/themes/default/*.xpm data/themes/default/theme exeinto /usr/share/${PN}/scripts doexe data/scripts/pekwm* insinto /usr/share/${PN} cd ${S}/data doins autoproperties config keys menu mouse start cd ${S} doman docs/pekwm.1 dodoc docs/pekwmdocs.txt AUTHORS ChangeLog* INSTALL LICENSE README* NEWS ROADMAP TODO }