summaryrefslogtreecommitdiff
blob: 788d55ee0f0ac83508cb2b3aa4d9b636917a3fb0 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie/devilspie-0.3.1.ebuild,v 1.1 2003/10/19 07:07:42 mr_bones_ 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"

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

DEPEND="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
	>=dev-util/pkgconfig-0.12.0
	>=gnome-base/libglade-2.0.1
	>=x11-libs/startup-notification-0.5"

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
}