# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Ben Lutgens # /space/gentoo/cvsroot/gentoo-x86/x11-wm/blackbox/blackbox-0.62.1-r2.ebuild,v 1.3 2002/04/13 00:47:14 seemant Exp #Needed to change ${P} to match actual tarball version name. #It is an invalid ebuild name. Much simpler this way. P="blackbox-0.65.0alpha1" S=${WORKDIR}/${P} DESCRIPTION="A small, fast, full-featured window manager for X" SRC_URI="http://prdownloads.sf.net/blackboxwm/${P}.tar.gz" # Old homepage: # HOMEPAGE="http://blackbox.alug.org/" HOMEPAGE="http://blackboxwm.sf.net/" DEPEND="virtual/x11" RDEPEND="${DEPEND} nls? ( sys-devel/gettext )" PROVIDE="virtual/blackbox" src_compile() { local myconf use nls || myconf="${myconf} --disable-nls" ./configure \ --build=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc/X11/blackbox \ ${myconf} || die emake || die } src_install () { make \ prefix=${D}/usr \ sysconfdir=${D}/etc/X11/blackbox \ install || die dodoc ChangeLog* AUTHORS LICENSE README* TODO* exeinto /etc/X11/Sessions doexe $FILESDIR/blackbox } # Since gentoo has passed 1.0 and old blackbox ebuilds are no longer in the portage tree, should we assume users have already updated their packages? #pkg_postinst() { # #notify user about the new share dir # if [ -d /usr/share/Blackbox ] # then # einfo # einfo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" # einfo "! Blackbox no longer uses /usr/share/Blackbox as the !" # einfo "! default share directory to contain styles and menus. !" # einfo "! The default directory is now /usr/share/blackbox !" # einfo "! Please move any files in /usr/share/Blackbox that you !" # einfo "! wish to keep (personal styles and your menu) into the !" # einfo "! new directory and modify your menu files to point all !" # einfo "! listed paths to the new directory. !" # einfo "! Also, be sure to update the paths in each user's !" # einfo "! .blackboxrc file found in their home directory. !" # einfo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" # einfo # fi #}