/[gentoo-x86]/games-arcade/afternoonstalker/afternoonstalker-1.1.2.ebuild
Gentoo

Contents of /games-arcade/afternoonstalker/afternoonstalker-1.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed May 26 20:22:55 2010 UTC (10 years, 4 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/afternoonstalker/afternoonstalker-1.1.2.ebuild,v 1.2 2009/09/19 10:30:00 maekke Exp $
4
5 EAPI=2
6 inherit autotools eutils games
7
8 DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics"
9 HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/afternoonstalker.html"
10 SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd"
15 IUSE=""
16
17 RDEPEND=">=dev-games/flatzebra-0.1.2"
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig"
20
21 src_prepare() {
22 sed -i \
23 -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
24 -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
25 -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
26 src/Makefile.am \
27 || die "sed failed"
28 sed -i \
29 -e '/^docdir/d' \
30 -e '/INSTALL/d' \
31 -e '/COPYING/d' \
32 Makefile.am \
33 || die "sed failed"
34 AT_M4DIR=macros eautoreconf
35 }
36
37 src_configure() {
38 egamesconf \
39 --disable-dependency-tracking \
40 --docdir=/usr/share/doc/${PF}
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die "emake install failed"
45 prepalldocs
46 prepgamesdirs
47 }

  ViewVC Help
Powered by ViewVC 1.1.20