summaryrefslogtreecommitdiff
blob: 5bda13f989e5bdd7e5fe34e91690235e7c540f77 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie/devilspie-0.4.ebuild,v 1.2 2005/05/14 06:48:34 tester Exp $

DESCRIPTION="A Window Matching utility similar to Sawfish's Matched Windows feature"
HOMEPAGE="http://www.burtonini.com/blog/computers/devilspie"
SRC_URI="http://www.burtonini.com/computing/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~alpha sparc amd64"
IUSE=""

RDEPEND="dev-lang/perl
	sys-libs/zlib
	x11-libs/pango
	dev-libs/libxml2
	>=dev-util/gob-2.0.3
	>=x11-libs/gtk+-2.0.0
	>=x11-libs/libwnck-0.17
	>=gnome-base/libglade-2.0.1
	>=x11-libs/startup-notification-0.5"
DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0"

IUSE=""

src_install() {
	einstall || die
	dodoc AUTHORS ChangeLog README NEWS TODO \
		sample-config.xml devilspie.dtd || \
			die "dodoc failed"
}

pkg_postinst() {
	echo
	einfo "A sample config file has been installed in /usr/share/doc/${P}"
	einfo "as sample-config.xml.gz.  Also installed there is the DTD for"
	einfo "the config file.  It is called devilspie.dtd.gz"
	echo
	ewarn "BEFORE starting devilspie, you MUST create a .devilspie.xml file"
	ewarn "in your home directory so that it knows what to do.  Please use"
	ewarn "the sample config file as a starting point."
	echo
}