summaryrefslogtreecommitdiff
blob: 3426581b241d2b5a0c7d4a21ca8c5f4901172cdd (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-xenophilia-engine/gtk-xenophilia-engine-0.8.ebuild,v 1.2 2002/08/05 09:28:07 seemant Exp $

MY_P=${P/gtk-/}
MY_P=${MY_P/-engine/}
S=${WORKDIR}/${MY_P/x/X}
DESCRIPTION="Gtk+-2 engine, xfce"
SRC_URI="http://themes.freshmeat.net/redir/xenophilia/24574/url_tgz/${MY_P}.tar.gz"
HOMEPAGE="http://themes.freshmeat.net/projects/xenophilia"

DEPEND=">=x11-libs/gtk+-2.0.5"

SLOT="0" 
LICENSE="GPL-2"
KEYWORDS="x86"

src_compile() {
	econf || die
	emake || die
}

src_install () {
	cp ${FILESDIR}/Makefile fonts/
	dodir /usr/X11R6/lib/X11/fonts/local/
	
	make ENGINE_DIR=${D}/usr/lib/gtk/themes/engines \
		THEME_DIR=${D}/usr/share/themes \
		DESTDIR=${D}/usr/X11R6/lib/X11/fonts/local/ install || die
	
	dodoc AUTHORS BUGS CONFIGURATION COPYING ChengeLog INSTALL README TODO
}

pkg_config () {

einfo "${GOOD}************************************************************** *${NORMAL}"
	einfo "                                                               ${GOOD}*${NORMAL}"
	einfo "After merge please run,   xset fp rehash                       ${GOOD}*${NORMAL}"
	einfo "                                                               ${GOOD}*${NORMAL}"
	einfo "${GOOD}************************************************************** *${NORMAL}"

}