summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-16 06:58:20 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-16 06:58:20 +0000
commitac4cccecf227d48bec11c263c1120625322c3943 (patch)
tree1ba0f012c1386b681853a72eb0a5079c179b46d7 /games-arcade
parentadded a warning about memory requirements in ppc (diff)
downloadhistorical-ac4cccecf227d48bec11c263c1120625322c3943.tar.gz
historical-ac4cccecf227d48bec11c263c1120625322c3943.tar.bz2
historical-ac4cccecf227d48bec11c263c1120625322c3943.zip
initial commit - ebuild submitted by eGore via bug #63499
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/defendguin/ChangeLog10
-rw-r--r--games-arcade/defendguin/Manifest5
-rw-r--r--games-arcade/defendguin/defendguin-0.0.10.ebuild31
-rw-r--r--games-arcade/defendguin/files/0.0.10-makefile.patch29
-rw-r--r--games-arcade/defendguin/files/digest-defendguin-0.0.101
-rw-r--r--games-arcade/defendguin/metadata.xml5
6 files changed, 81 insertions, 0 deletions
diff --git a/games-arcade/defendguin/ChangeLog b/games-arcade/defendguin/ChangeLog
new file mode 100644
index 000000000000..52e49cf1151f
--- /dev/null
+++ b/games-arcade/defendguin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/defendguin
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/ChangeLog,v 1.1 2004/09/16 06:58:20 mr_bones_ Exp $
+
+*defendguin-0.0.10 (15 Sep 2004)
+
+ 15 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +defendguin-0.0.10.ebuild:
+ initial commit - ebuild submitted by eGore via bug #63499
+
diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest
new file mode 100644
index 000000000000..70745d4d2ecb
--- /dev/null
+++ b/games-arcade/defendguin/Manifest
@@ -0,0 +1,5 @@
+MD5 aa057be626c14003857b6919319f7517 defendguin-0.0.10.ebuild 864
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 6b34ce5fe8c83bf81ea038c816c34b5d ChangeLog 416
+MD5 4284426976186920308245388755b313 files/digest-defendguin-0.0.10 70
+MD5 c49253cc21948dd1647e4eef78e28327 files/0.0.10-makefile.patch 777
diff --git a/games-arcade/defendguin/defendguin-0.0.10.ebuild b/games-arcade/defendguin/defendguin-0.0.10.ebuild
new file mode 100644
index 000000000000..e9432bae7cdd
--- /dev/null
+++ b/games-arcade/defendguin/defendguin-0.0.10.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/defendguin-0.0.10.ebuild,v 1.1 2004/09/16 06:58:20 mr_bones_ Exp $
+
+inherit eutils games
+DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme"
+HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
+SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/defendguin/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/x11
+ media-libs/sdl-mixer
+ media-libs/libsdl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-makefile.patch"
+ rm -f data/images/*.sh
+}
+
+src_install() {
+ dogamesbin defendguin || die "dogamesbin failed"
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r ./data/* "${D}/${GAMES_DATADIR}/${PN}" || die "cp failed"
+ prepgamesdirs
+}
diff --git a/games-arcade/defendguin/files/0.0.10-makefile.patch b/games-arcade/defendguin/files/0.0.10-makefile.patch
new file mode 100644
index 000000000000..bb61b8c437ba
--- /dev/null
+++ b/games-arcade/defendguin/files/0.0.10-makefile.patch
@@ -0,0 +1,29 @@
+--- Makefile.orig 2002-01-06 02:09:37.000000000 +0100
++++ Makefile 2004-09-14 22:03:45.525993936 +0200
+@@ -9,12 +9,12 @@
+
+ # User-definable stuff:
+
+-CFLAGS=-Wall -O2
++#CFLAGS=-Wall -O2
+ #DATA_PREFIX=$(PWD)/data/
+-PREFIX=/usr/local
+-MAN_PREFIX=$(PREFIX)
+-BIN_PREFIX=$(PREFIX)/bin
+-DATA_PREFIX=$(PREFIX)/share/defendguin/
++PREFIX=/usr/share
++MAN_PREFIX=$(PREFIX)/man
++BIN_PREFIX=/usr/games/bin
++DATA_PREFIX=$(PREFIX)/games/defendguin/
+ JOY=YES
+
+
+@@ -24,7 +24,7 @@
+ SDL_LDFLAGS := $(shell sdl-config --libs) -L/usr/X11R6/lib
+ MIXER=-lSDL_mixer
+ NOSOUNDFLAG=__SOUND
+-CFLAGS=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \
++CFLAGS+=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \
+ -DJOY_$(JOY)
+ SDL_LIB=$(SDL_LDFLAGS) $(MIXER)
+
diff --git a/games-arcade/defendguin/files/digest-defendguin-0.0.10 b/games-arcade/defendguin/files/digest-defendguin-0.0.10
new file mode 100644
index 000000000000..beb3c91729dc
--- /dev/null
+++ b/games-arcade/defendguin/files/digest-defendguin-0.0.10
@@ -0,0 +1 @@
+MD5 83f3ac061be1ed21648c16665ac0984b defendguin-0.0.10.tar.gz 2299261
diff --git a/games-arcade/defendguin/metadata.xml b/games-arcade/defendguin/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/defendguin/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>