summaryrefslogtreecommitdiff
blob: eab90b68961fc4bba489a839a6c43548c40d9dd5 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/garden/garden-1.0.6.ebuild,v 1.1 2009/04/12 01:51:57 mr_bones_ Exp $

EAPI=2
inherit eutils games

DESCRIPTION="Multiplatform vertical shoot-em-up with non-traditional elements"
HOMEPAGE="http://garden.sourceforge.net"
SRC_URI="mirror://sourceforge/garden/garden_of_coloured_lights-${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="media-libs/allegro"

S=${WORKDIR}/garden_of_coloured_lights-${PV}

src_prepare() {
	sed -i \
		-e '/SUBDIRS/s:resources::' \
		Makefile.in \
		|| die "sed failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc AUTHORS ChangeLog NEWS README
	newicon resources/garden.svg "${PN}.svg"
	make_desktop_entry garden "Garden of coloured lights"
	prepgamesdirs
}