/[gentoo-x86]/x11-wm/fluxbox/fluxbox-0.1.9-r3.ebuild
Gentoo

Contents of /x11-wm/fluxbox/fluxbox-0.1.9-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jul 9 01:53:21 2002 UTC (15 years, 3 months ago) by drobbins
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
cleanups and added new fluxbox with xinerama enabled by default.

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2
3 # $Header: /home/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.1.9-r3.ebuild,v 1.2 2002/07/08 13:47:11 aliz Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="Window manager based on BlackBox"
7 SRC_URI="http://download.sourceforge.net/${PN}/${P}.tar.gz
8 http://fluxbox.sourceforge.net/download/patches/${P}-bugfix2.patch
9 truetype? ( http://www.oberdorf.org/oly/Computers/OlyWare/FluxBoxAA/${P}-oly-allinone.patch.bz2 )"
10
11 HOMEPAGE="http://fluxbox.sf.net"
12
13 DEPEND="virtual/x11"
14
15 RDEPEND="${DEPEND}
16 nls? ( sys-devel/gettext )"
17
18 PROVIDE="virtual/blackbox"
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="x86"
22
23 src_unpack() {
24 unpack ${P}.tar.gz
25 cd ${S}
26 patch -p1 < ${DISTDIR}/${P}-bugfix2.patch || die
27
28 use truetype && \
29 bzcat ${DISTDIR}/${P}-oly-allinone.patch.bz2 | patch -p1
30 }
31
32 src_compile() {
33 local myconf
34 use nls \
35 && myconf="${myconf} --enable-nls" \
36 || myconf="${myconf} --disable-nls"
37
38 use kde \
39 && myconf="${myconf} --enable-kde" \
40 && export KDEDIR=/usr/kde/2 \
41 || myconf="${myconf} --disable-kde"
42
43 use gnome \
44 && myconf="${myconf} --enable-gnome" \
45 || myconf="${myconf} --disable-gnome"
46
47 use truetype \
48 && myconf="${myconf} --enable-antialiasing" \
49 || myconf="${myconf} --disable-antialiasing"
50
51 econf ${myconf} || die
52
53 emake || die
54 }
55
56 src_install () {
57 make \
58 prefix=${D}/usr \
59 sysconfdir=${D}/etc/X11/fluxbox \
60 mandir=${D}/usr/share/man \
61 infodir=${D}/usr/share/info \
62 datadir=${D}/usr/share \
63 install || die
64
65 dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS
66 docinto data
67 dodoc data/README*
68
69 dodir /etc/X11/Sessions
70 echo "/usr/bin/fluxbox" > ${D}/etc/X11/Sessions/fluxbox
71 fperm +x /etc/X11/Sessions/fluxbox
72 }
73
74
75 pkg_postinst() {
76
77 if [ "`use truetype`" ]
78 then
79 einfo "To actually enable anti-aliasing in fluxbox, you must call"
80 einfo "it using: fluxbox -antialias"
81 fi
82 }

  ViewVC Help
Powered by ViewVC 1.1.20