Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 137753
Collapse All | Expand All

(-)/usr/portage/games-roguelike/fargoal/fargoal-20040629.ebuild (-6 / +6 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2006 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.2 2005/06/27 18:50:51 blubb Exp $
3
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/fargoal/fargoal-20040629.ebuild,v 1.2 2005/06/27 18:50:51 blubb Exp $
4
4
Lines 6-12 Link Here
6
6
7
DESCRIPTION="The Sword of Fargoal - a remake of C64's old dungeon crawler game"
7
DESCRIPTION="The Sword of Fargoal - a remake of C64's old dungeon crawler game"
8
HOMEPAGE="http://squidfighter.sourceforge.net/fargoal/"
8
HOMEPAGE="http://squidfighter.sourceforge.net/fargoal/"
9
SRC_URI="mirror://sourceforge/squidfighter/${PN}${PV}.zip"
9
SRC_URI="mirror://sourceforge/squidfighter/${P/-}.zip"
10
10
11
LICENSE="as-is"
11
LICENSE="as-is"
12
SLOT="0"
12
SLOT="0"
Lines 24-30 Link Here
24
	cd "${S}/src"
24
	cd "${S}/src"
25
	epatch "${FILESDIR}/gentoo-home-write.patch"
25
	epatch "${FILESDIR}/gentoo-home-write.patch"
26
	sed -i \
26
	sed -i \
27
		-e "s/^\(C\(XX\)\?FLAGS =\).*/\1 ${CFLAGS} /g" Makefile \
27
		-e "s/-O3/${CFLAGS}/" \
28
		-e '/^LDFLAGS/d' Makefile \
28
		|| die "sed failed"
29
		|| die "sed failed"
29
	sed -i \
30
	sed -i \
30
		-e "s:sfx/:${GAMES_DATADIR}/${PN}/sfx/:g" \
31
		-e "s:sfx/:${GAMES_DATADIR}/${PN}/sfx/:g" \
Lines 44-52 Link Here
44
	# install as fargoal instead of sword since that may conflict with
45
	# install as fargoal instead of sword since that may conflict with
45
	# other packages.
46
	# other packages.
46
	newgamesbin sword fargoal || die "newgamesbin failed"
47
	newgamesbin sword fargoal || die "newgamesbin failed"
47
	dodir "${GAMES_DATADIR}/${PN}"
48
	insinto "${GAMES_DATADIR}"/${PN}
48
	cp -r agreement.txt {data,gfx,sfx} "${D}/${GAMES_DATADIR}/${PN}" \
49
	doins -r agreement.txt {data,gfx,sfx} || die "doins failed"
49
		|| die "cp failed"
50
	dohtml readme.html
50
	dohtml readme.html
51
	prepgamesdirs
51
	prepgamesdirs
52
}
52
}

Return to bug 137753