summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-06 03:24:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-06 03:24:03 +0000
commite3555958279178c96f0fc6bc36755f0ec916d6c2 (patch)
treec1242f7969cd0c65888043a36a9f6fa434d1dfda /games-arcade/kajaani-kombat
parentreally update extras (Manifest recommit) (diff)
downloadgentoo-2-e3555958279178c96f0fc6bc36755f0ec916d6c2.tar.gz
gentoo-2-e3555958279178c96f0fc6bc36755f0ec916d6c2.tar.bz2
gentoo-2-e3555958279178c96f0fc6bc36755f0ec916d6c2.zip
initial commit
Diffstat (limited to 'games-arcade/kajaani-kombat')
-rw-r--r--games-arcade/kajaani-kombat/ChangeLog10
-rw-r--r--games-arcade/kajaani-kombat/Manifest3
-rw-r--r--games-arcade/kajaani-kombat/files/0.4-makefile.patch39
-rw-r--r--games-arcade/kajaani-kombat/files/digest-kajaani-kombat-0.41
-rw-r--r--games-arcade/kajaani-kombat/kajaani-kombat-0.4.ebuild40
-rw-r--r--games-arcade/kajaani-kombat/metadata.xml5
6 files changed, 98 insertions, 0 deletions
diff --git a/games-arcade/kajaani-kombat/ChangeLog b/games-arcade/kajaani-kombat/ChangeLog
new file mode 100644
index 000000000000..4e05bcafb3a0
--- /dev/null
+++ b/games-arcade/kajaani-kombat/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/kajaani-kombat
+# Copyright 1999-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/kajaani-kombat/ChangeLog,v 1.1 2004/04/06 03:24:03 mr_bones_ Exp $
+
+*kajaani-kombat-0.4 (05 Apr 2004)
+
+ 05 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ kajaani-kombat-0.4.ebuild, metadata.xml, files/0.4-makefile.patch:
+ initial commit
+
diff --git a/games-arcade/kajaani-kombat/Manifest b/games-arcade/kajaani-kombat/Manifest
new file mode 100644
index 000000000000..1bd61c2bfb28
--- /dev/null
+++ b/games-arcade/kajaani-kombat/Manifest
@@ -0,0 +1,3 @@
+MD5 9cb26173833a225aa97f89c02a46664e kajaani-kombat-0.4.ebuild 1404
+MD5 bde7845f7e0081cae8f6f216dd7bffb4 files/digest-kajaani-kombat-0.3 71
+MD5 e8754c2566d62d0a3403c5e99550bd83 files/digest-kajaani-kombat-0.4 70
diff --git a/games-arcade/kajaani-kombat/files/0.4-makefile.patch b/games-arcade/kajaani-kombat/files/0.4-makefile.patch
new file mode 100644
index 000000000000..791f1eb3f780
--- /dev/null
+++ b/games-arcade/kajaani-kombat/files/0.4-makefile.patch
@@ -0,0 +1,39 @@
+--- Makefile.orig 2004-04-05 20:07:08.000000000 -0700
++++ Makefile 2004-04-05 20:07:41.000000000 -0700
+@@ -16,21 +16,13 @@
+ # along with Kajaani Kombat; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-## DEBIAN RELEASE
+-ifeq ($(sys), DEBIAN)
+- MEDIA=-D MEDIA_PATH=\"/usr/share/games/kajaanikombat/\"
+- DEBUG= -O $(MEDIA)
+-endif
++MEDIA=-D MEDIA_PATH=\"/usr/share/games/kajaani-kombat/\"
++DEBUG= -O $(MEDIA)
+ ## WIN RELEASE
+ ifeq ($(sys), WIN)
+ MEDIA=-D MEDIA_PATH=\".\\\"
+ DEBUG= -O $(MEDIA)
+ endif
+-## UNIX DEBUG
+-ifeq ($(sys),)
+- MEDIA=-D MEDIA_PATH=\"./\"
+- DEBUG= -g -DDEBUG $(MEDIA)
+-endif
+
+ #debug
+ #release
+@@ -76,7 +68,7 @@
+ -rm -f *.o *~ kajaani-kombat kajaani-kombat-server
+
+ install: client
+- $(INS) -o root -g root -m 0755 -s kajaani-kombat debian/tmp/usr/games/kajaani-kombat
+- $(INS) -o root -g root -m 0644 *.png debian/tmp/usr/share/games/kajaanikombat/
+- $(INS) -o root -g root -m 0644 *.ttf debian/tmp/usr/share/games/kajaanikombat/
+- $(INS) -o root -g root -m 0644 kajaani-kombat.6 debian/tmp/usr/share/man/man6/
+\ No newline at end of file
++ $(INS) -o root -g root -m 0755 -s kajaani-kombat $(DESTDIR)/usr/games/bin/kajaani-kombat
++ $(INS) -o root -g root -m 0644 *.png $(DESTDIR)/usr/share/games/kajaani-kombat/
++ $(INS) -o root -g root -m 0644 *.ttf $(DESTDIR)/usr/share/games/kajaani-kombat/
++ $(INS) -o root -g root -m 0644 kajaani-kombat.6 $(DESTDIR)/usr/share/man/man6/
diff --git a/games-arcade/kajaani-kombat/files/digest-kajaani-kombat-0.4 b/games-arcade/kajaani-kombat/files/digest-kajaani-kombat-0.4
new file mode 100644
index 000000000000..3d70c95612dd
--- /dev/null
+++ b/games-arcade/kajaani-kombat/files/digest-kajaani-kombat-0.4
@@ -0,0 +1 @@
+MD5 7c2836d6f156491ca0fcf9ba3e07d90d kajaani-kombat-0.4.tar.gz 469707
diff --git a/games-arcade/kajaani-kombat/kajaani-kombat-0.4.ebuild b/games-arcade/kajaani-kombat/kajaani-kombat-0.4.ebuild
new file mode 100644
index 000000000000..9eee3fd890d1
--- /dev/null
+++ b/games-arcade/kajaani-kombat/kajaani-kombat-0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/kajaani-kombat/kajaani-kombat-0.4.ebuild,v 1.1 2004/04/06 03:24:03 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="A rampart-like game set in space"
+HOMEPAGE="http://kombat.kajaani.net/"
+SRC_URI="http://kombat.kajaani.net/dl/${P}.tar.gz"
+
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/sdl-image
+ media-libs/sdl-ttf
+ sys-libs/ncurses
+ sys-libs/readline"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${PV}-makefile.patch"
+ sed -i \
+ -e "/^CXXFLAGS/ s:-Wall:${CXXFLAGS}:" Makefile \
+ || die "sed Makefile failed"
+}
+
+src_install() {
+ dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" /usr/share/man/man6
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README
+ prepgamesdirs
+}
diff --git a/games-arcade/kajaani-kombat/metadata.xml b/games-arcade/kajaani-kombat/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/kajaani-kombat/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>