/[gentoo-x86]/games-mud/gnome-mud/gnome-mud-0.11.ebuild
Gentoo

Contents of /games-mud/gnome-mud/gnome-mud-0.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Feb 28 22:47:05 2009 UTC (9 years, 9 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.6.7/cvs/Linux i686)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-mud/gnome-mud/gnome-mud-0.11.ebuild,v 1.3 2008/07/26 06:16:22 mr_bones_ Exp $
4
5 inherit gnome2 games
6
7 DESCRIPTION="GNOME MUD client"
8 HOMEPAGE="http://live.gnome.org/GnomeMud"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ~ppc ~x86"
13 IUSE="gstreamer"
14
15 RDEPEND="=x11-libs/gtk+-2*
16 =gnome-base/libgnome-2*
17 =gnome-base/libgnomeui-2*
18 >=gnome-base/libglade-2.0.1
19 >=x11-libs/vte-0.10.26
20 gstreamer? ( media-libs/gstreamer )
21 dev-perl/XML-Parser
22 net-libs/gnet
23 virtual/libintl"
24 DEPEND="${RDEPEND}
25 dev-util/pkgconfig
26 >=dev-util/intltool-0.23
27 >=sys-devel/gettext-0.11.5
28 app-text/scrollkeeper"
29
30 src_compile() {
31 gnome2_src_compile \
32 $(use_enable gstreamer)
33 }
34
35 src_install() {
36 DOCS="AUTHORS BUGS ChangeLog NEWS PLUGIN.API README ROADMAP" \
37 gnome2_src_install
38
39 # plugin directory
40 keepdir /usr/share/gnome-mud || die "keepdir failed"
41
42 # put the binary in the Gentoo place and clean it up
43 dogamesbin "${D}/usr/games/gnome-mud" || die "dogamesbin failed"
44 rm -f "${D}/usr/games/gnome-mud"
45 prepgamesdirs
46 }
47
48 pkg_preinst() {
49 gnome2_pkg_preinst
50 games_pkg_preinst
51 }
52
53 pkg_postinst() {
54 gnome2_pkg_postinst
55 games_pkg_postinst
56 echo
57 elog "For proper plugin operation, please create ~/.gnome-mud/plugins/"
58 elog "if that directory doesn't already exist."
59 elog "The command to do that is:"
60 elog " mkdir -p ~/.gnome-mud/plugins/"
61 echo
62 }

  ViewVC Help
Powered by ViewVC 1.1.20