blob: 4784b65f82b412003b8f10f6384cfb74d6462b2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ben Lutgens <lamer@gentoo.org>
# Modified by Matthew Jimenez
# $Header: /var/cvsroot/gentoo-x86/x11-wm/blackbox/blackbox-0.62.1-r1.ebuild,v 1.1 2002/02/14 22:01:54 danarmak Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A small, fast, full-featured window manager for X"
SRC_URI="http://prdownloads.sourceforge.net/blackboxwm/${P}.tar.gz"
# Old homepage:
# HOMEPAGE="http://blackbox.alug.org/"
# This is the new home page for blackbox now that Sean Perry has taken the
# project over, but the page is currently non-existent
HOMEPAGE="http://blackboxwm.sf.net/"
DEPEND=">=x11-base/xfree-4.0"
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
}
pkg_postinst() {
#notify user about the new share dir
if [ -d /usr/share/Blackbox ]
then
echo
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "! Blackbox no longer uses /usr/share/Blackbox as the !"
echo "! default share directory to contain styles and menus. !"
echo "! The default directory is now /usr/share/blackbox !"
echo "! Please move any files in /usr/share/Blackbox that you !"
echo "! wish to keep (personal styles and your menu) into the !"
echo "! new directory and modify your menu files to point all !"
echo "! listed paths to the new directory. !"
echo "! Also, be sure to update the paths in each user's !"
echo "! .blackboxrc file found in their home directory. !"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo
fi
}
|