# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.9.10-r3.ebuild,v 1.5 2004/09/25 15:26:55 ciaranm Exp $ inherit eutils IUSE="nls xinerama truetype kde gnome" DESCRIPTION="Fluxbox is an X11 window manager featuring tabs, an iconbar and KDE/GNOME protocol support" SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.bz2" HOMEPAGE="http://www.fluxbox.org" # Please note that USE="kde gnome" simply adds support for the respective # protocols, and does not depend on external libraries. They do, however, # make the binary a fair bit bigger, so we don't want to turn them on unless # the user actually wants them. RDEPEND="virtual/x11 truetype? ( media-libs/freetype ) nls? ( sys-devel/gettext ) ! ${D}/etc/X11/Sessions/fluxbox fperms a+x /etc/X11/Sessions/fluxbox dodir /usr/share/fluxbox/menu.d # Styles menu framework dodir /usr/share/fluxbox/menu.d/styles insinto /usr/share/fluxbox/menu.d/styles doins ${FILESDIR}/${PV}/styles-menu-fluxbox doins ${FILESDIR}/${PV}/styles-menu-commonbox doins ${FILESDIR}/${PV}/styles-menu-user } pkg_postinst() { einfo "As of fluxbox 0.9.10-r3, we are using an improved system for" einfo "handling styles in the menu. To take advantage of this, use" einfo "the following for your menu styles section:" einfo " " einfo " [submenu] (Styles) {Select a Style}" einfo " [include] (/usr/share/fluxbox/menu.d/styles/)" einfo " [end]" einfo " " einfo "If you use fluxbox-generate_menu or the default global fluxbox" einfo "menu file, this will already be present." ewarn " " ewarn "You must restart fluxbox before using the [include] /directory/" ewarn "feature!" ewarn " " epause }