summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/burgerspace')
-rw-r--r--games-arcade/burgerspace/Manifest1
-rw-r--r--games-arcade/burgerspace/burgerspace-1.9.2.ebuild48
-rw-r--r--games-arcade/burgerspace/metadata.xml8
3 files changed, 57 insertions, 0 deletions
diff --git a/games-arcade/burgerspace/Manifest b/games-arcade/burgerspace/Manifest
new file mode 100644
index 000000000000..458d0ab61f77
--- /dev/null
+++ b/games-arcade/burgerspace/Manifest
@@ -0,0 +1 @@
+DIST burgerspace-1.9.2.tar.gz 505314 SHA256 34b0feccf543b11f9f9a182203d67cd453675255fed4b745e4e74c121b211bf2 SHA512 b2af53d6fcf1d52164870147aa8a5b08941ecb62f3d9bbce5c2872885923057481c21bc34f1e19b8aeb8a76acadd9a11c11fa7b6304438610e8a23e043b7deee WHIRLPOOL a164c6a8a6c7e0aaad1e427bd88103a03260fa77b4d05ee8d9af72d468f7744c7cf212f2e8431b7529c82106ce3334eaff75983e7a437fa5658f1d9d7d96010d
diff --git a/games-arcade/burgerspace/burgerspace-1.9.2.ebuild b/games-arcade/burgerspace/burgerspace-1.9.2.ebuild
new file mode 100644
index 000000000000..637ac3cc3a02
--- /dev/null
+++ b/games-arcade/burgerspace/burgerspace-1.9.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools games
+
+DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East"
+HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html"
+SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="network"
+RESTRICT="test" # doesn't really test anything
+
+RDEPEND=">=dev-games/flatzebra-0.1.6"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
+ -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
+ -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
+ src/Makefile.am \
+ || die
+ sed -i \
+ -e "/Categories/s:Application;::" \
+ -e "/Icon/s:\..*::" \
+ -e "/Terminal/s:0:false:" \
+ src/burgerspace.desktop.in \
+ || die
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ $(use_with network)
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install
+ doman doc/${PN}.6
+ dodoc AUTHORS NEWS README THANKS
+ prepgamesdirs
+}
diff --git a/games-arcade/burgerspace/metadata.xml b/games-arcade/burgerspace/metadata.xml
new file mode 100644
index 000000000000..4d4304ba05a8
--- /dev/null
+++ b/games-arcade/burgerspace/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+ <use>
+ <flag name="network">Enable client-server support</flag>
+ </use>
+</pkgmetadata>