Portage is a package management system used by Gentoo Linux
# ChangeLog for games-arcade/apricots
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/apricots/ChangeLog,v 1.13 2007/05/27 21:13:43 welp Exp $
27 May 2007; Peter Weller
Stable on amd64 wrt bug 178383
09 Apr 2007; Peter Weller
Keyworded ~x86-fbsd wrt bug 173405
27 Mar 2007; Tristan Heaven
Install menu entry, bug #159842
05 Jan 2007; Tristan Heaven
Set WANT_AUTOCONF and WANT_AUTOMAKE
11 Sep 2006; Michael Sterrett
apricots-0.2.6-r1.ebuild:
gcc4 doesn't like -Wmissing-prototypes for c++
*apricots-0.2.6-r1 (09 Aug 2006)
09 Aug 2006; Chris Gianelloni
+files/apricots-0.2.6-freealut.patch, -apricots-0.2.6.ebuild,
+apricots-0.2.6-r1.ebuild:
Added a patch by Tristan Heaven
with the split openal/freealut.
15 Jun 2005; Chris Gianelloni
Removed INSTALL file.
02 Jun 2005; Joseph Jezak
Marked ppc stable.
16 Jan 2005; Jason Wever
Added ~sparc keyword.
17 Dec 2004; Joseph Jezak
Marked ~ppc.
11 Nov 2004; Chris Gianelloni
Added ~amd64 KEYWORD and closing bug #70598.
30 Sep 2004; Michael Sterrett
fix cfg file support; docs++ (bug #64325 again)
*apricots-0.2.6 (19 Sep 2004)
19 Sep 2004; Michael Sterrett
+apricots-0.2.6.ebuild:
initial commit - ebuild submitted by Greg Watson via bug #64325
AUX apricots-0.2.6-freealut.patch 1596 RMD160 abed45089e3714dc116af6f0662ddece8938bfdb SHA1 7d6d42d8ad37705965ea2c4e5fedf1736d6653e3 SHA256 aca9d74921a9be155ad1ddf309d78aa059e8856b19799ba488659cd96fbd7c94
DIST apricots-0.2.6.tar.gz 768568 RMD160 54377e287a7ce693a90a2387b4c53860f68487cb SHA1 4b5b4c867fc92d4fc717d16b30dbaf8411f24a48 SHA256 9c408722abbb0cb925384f12a65fe4f6e2b3373d5ce5d0e5afe3aeb738b9cd8f
EBUILD apricots-0.2.6-r1.ebuild 1649 RMD160 f230e5c3d3c6bba072679205f575a69334c435f4 SHA1 6eee27f810b321507ca0866a4186b7d2a7dfc8bb SHA256 847b1d63ac938eb46c5b7e34fbfe63a9b8b4c210ec406708667da4170b518de1
MISC ChangeLog 1904 RMD160 f7e77b3f4891ad29f10eb1f603255793667ca5cd SHA1 25a48db57c9f29e5c79335da90b35001e0b5552d SHA256 74d05ec08062686d830917dfeeb1af4f790bbeef3ced573924bcf85988c9b0a8
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/apricots/apricots-0.2.6-r1.ebuild,v 1.6 2007/05/27 21:13:43 welp Exp $
inherit autotools eutils games
DESCRIPTION="Fly a plane around bomb/shoot the enemy. Port of Planegame from Amiga."
HOMEPAGE="http://www.fishies.org.uk/apricots.html"
SRC_URI="http://www.fishies.org.uk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/openal
media-libs/freealut"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-freealut.patch
sed -i \
-e 's:-DAP_PATH=\\\\\\"$prefix.*":-DAP_PATH=\\\\\\"${GAMES_DATADIR}/${PN}/\\\\\\"":' \
configure.in \
|| die "sed failed"
sed -i \
-e "s:filename(AP_PATH):filename(\"${GAMES_SYSCONFDIR}/${PN}/\"):" \
${PN}/init.cpp \
|| die "sed failed"
sed -i \
-e "s:apricots.cfg:${GAMES_SYSCONFDIR}/${PN}/apricots.cfg:" \
README apricots.html \
|| die "sed failed"
sed -i \
-e 's/-Wmissing-prototypes//' \
acinclude.m4 \
|| die "sed failed"
eautoreconf
}
src_install() {
dodoc AUTHORS README TODO ChangeLog
dohtml apricots.html
cd ${PN}
dogamesbin apricots || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
doins *.wav *.psf *.shapes || die "doins failed"
insinto "${GAMES_SYSCONFDIR}"/${PN}
doins apricots.cfg || die "doins apricots.cfg failed"
make_desktop_entry ${PN} Apricots
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
elog "You can change the game options by editing:"
elog "${GAMES_SYSCONFDIR}/${PN}/apricots.cfg"
}