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
commita2701edd91d1751a6512347afe6c8fedb9ddeb02 (patch)
treef7381bf192b7e46fd5e215c11d4b046a90b56cb8 /games-arcade
parentadded a warning about memory requirements in ppc (Manifest recommit) (diff)
downloadgentoo-2-a2701edd91d1751a6512347afe6c8fedb9ddeb02.tar.gz
gentoo-2-a2701edd91d1751a6512347afe6c8fedb9ddeb02.tar.bz2
gentoo-2-a2701edd91d1751a6512347afe6c8fedb9ddeb02.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/Manifest2
-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, 78 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..6791fde3d84e
--- /dev/null
+++ b/games-arcade/defendguin/Manifest
@@ -0,0 +1,2 @@
+MD5 ae87db5db03a555d6f0f9dc0e79371ba defendguin-0.0.10.ebuild 684
+MD5 4284426976186920308245388755b313 files/digest-defendguin-0.0.10 70
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>