blob: 9627410c5a6b4c96c21cd398af84e24eac06a6cc (
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
65
66
67
68
69
|
# Copyright 1999-2002 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-r2.ebuild,v 1.3 2002/04/13 00:47:14 seemant 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="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
}
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
}
|