summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-19 08:32:39 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-19 08:32:39 +0000
commit08036f1d0c3d8d1c101edca85080b72a712558e8 (patch)
tree6c5e74ee3f54baf9cabdb4c34db82c7ecde3bf50 /games-arcade
parentMarked stable on mips. (Manifest recommit) (diff)
downloadgentoo-2-08036f1d0c3d8d1c101edca85080b72a712558e8.tar.gz
gentoo-2-08036f1d0c3d8d1c101edca85080b72a712558e8.tar.bz2
gentoo-2-08036f1d0c3d8d1c101edca85080b72a712558e8.zip
initial commit - ebuild submitted by Greg Watson via bug #64325
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/apricots/ChangeLog10
-rw-r--r--games-arcade/apricots/Manifest2
-rw-r--r--games-arcade/apricots/apricots-0.2.6.ebuild50
-rw-r--r--games-arcade/apricots/files/digest-apricots-0.2.61
-rw-r--r--games-arcade/apricots/metadata.xml5
5 files changed, 68 insertions, 0 deletions
diff --git a/games-arcade/apricots/ChangeLog b/games-arcade/apricots/ChangeLog
new file mode 100644
index 000000000000..2628c94dc4f7
--- /dev/null
+++ b/games-arcade/apricots/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/apricots
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/apricots/ChangeLog,v 1.1 2004/09/19 08:32:39 mr_bones_ Exp $
+
+*apricots-0.2.6 (19 Sep 2004)
+
+ 19 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +apricots-0.2.6.ebuild:
+ initial commit - ebuild submitted by Greg Watson via bug #64325
+
diff --git a/games-arcade/apricots/Manifest b/games-arcade/apricots/Manifest
new file mode 100644
index 000000000000..8a8e2fc7bb99
--- /dev/null
+++ b/games-arcade/apricots/Manifest
@@ -0,0 +1,2 @@
+MD5 78cc5293f4e69501c050232cb2f7c1fe apricots-0.2.6.ebuild 1265
+MD5 239a513f7d4e611a239619886fc9f692 files/digest-apricots-0.2.6 66
diff --git a/games-arcade/apricots/apricots-0.2.6.ebuild b/games-arcade/apricots/apricots-0.2.6.ebuild
new file mode 100644
index 000000000000..5e54d04aef57
--- /dev/null
+++ b/games-arcade/apricots/apricots-0.2.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/09/19 08:32:39 mr_bones_ Exp $
+
+inherit 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="x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/openal-20040303"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:-DAP_PATH=\\\\\\"$prefix.*":-DAP_PATH=\\\\\\"${GAMES_DATADIR}/${PN}/\\\\\\"":' \
+ configure.in \
+ || die "sed failed"
+
+ sed -i \
+ -e "s:apricots.cfg:${GAMES_SYSCONFDIR}/${PN}/apricots.cfg:" \
+ ${PN}/init.cpp README apricots.html \
+ || die "sed failed"
+}
+
+src_install() {
+ dodoc AUTHORS INSTALL README TODO ChangeLog
+ 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 "failed to install game config file"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "You can change the game options by editing:"
+ einfo "${GAMES_SYSCONFDIR}/${PN}/apricots.cfg"
+ echo
+}
diff --git a/games-arcade/apricots/files/digest-apricots-0.2.6 b/games-arcade/apricots/files/digest-apricots-0.2.6
new file mode 100644
index 000000000000..79d2cc09537f
--- /dev/null
+++ b/games-arcade/apricots/files/digest-apricots-0.2.6
@@ -0,0 +1 @@
+MD5 910828d717e46d8cbd9c24f702d09fbc apricots-0.2.6.tar.gz 768568
diff --git a/games-arcade/apricots/metadata.xml b/games-arcade/apricots/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/apricots/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>