summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-19 01:22:37 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-19 01:22:37 +0000
commit4b6964e165878777f559b89e8df04215add7c3b9 (patch)
treecdf1cbfe97b818b024728de052d322edd5d28f47 /games-arcade
parentInitial import. Ebuild submitted by Dick Marinus #88492. (diff)
downloadgentoo-2-4b6964e165878777f559b89e8df04215add7c3b9.tar.gz
gentoo-2-4b6964e165878777f559b89e8df04215add7c3b9.tar.bz2
gentoo-2-4b6964e165878777f559b89e8df04215add7c3b9.zip
Initial import. Ebuild submitted by Alexandru Toma #82441.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/trailblazer/ChangeLog8
-rw-r--r--games-arcade/trailblazer/Manifest2
-rw-r--r--games-arcade/trailblazer/files/digest-trailblazer-0.91
-rw-r--r--games-arcade/trailblazer/metadata.xml5
-rw-r--r--games-arcade/trailblazer/trailblazer-0.9.ebuild43
5 files changed, 59 insertions, 0 deletions
diff --git a/games-arcade/trailblazer/ChangeLog b/games-arcade/trailblazer/ChangeLog
new file mode 100644
index 000000000000..6af33c840dd7
--- /dev/null
+++ b/games-arcade/trailblazer/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-arcade/trailblazer
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/ChangeLog,v 1.1 2005/08/19 01:22:37 vapier Exp $
+
+*trailblazer-0.9 (18 Aug 2005)
+
+ 18 Aug 2005; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Alexandru Toma #82441.
diff --git a/games-arcade/trailblazer/Manifest b/games-arcade/trailblazer/Manifest
new file mode 100644
index 000000000000..d70360171577
--- /dev/null
+++ b/games-arcade/trailblazer/Manifest
@@ -0,0 +1,2 @@
+MD5 d5a30f2e810ac250fe44f0ff6ba7ea2a trailblazer-0.9.ebuild 1015
+MD5 32b58618b9853d4138a4d61c9ccfe729 files/digest-trailblazer-0.9 63
diff --git a/games-arcade/trailblazer/files/digest-trailblazer-0.9 b/games-arcade/trailblazer/files/digest-trailblazer-0.9
new file mode 100644
index 000000000000..ae70b91f6634
--- /dev/null
+++ b/games-arcade/trailblazer/files/digest-trailblazer-0.9
@@ -0,0 +1 @@
+MD5 fdfc5f7345cfc908ddede7fe42eef5b0 trailblazer-0.9.tgz 20753
diff --git a/games-arcade/trailblazer/metadata.xml b/games-arcade/trailblazer/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/trailblazer/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>
diff --git a/games-arcade/trailblazer/trailblazer-0.9.ebuild b/games-arcade/trailblazer/trailblazer-0.9.ebuild
new file mode 100644
index 000000000000..90144f687cd5
--- /dev/null
+++ b/games-arcade/trailblazer/trailblazer-0.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/trailblazer/trailblazer-0.9.ebuild,v 1.1 2005/08/19 01:22:37 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Guide a ball through a succession of levels while avoiding holes"
+HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
+SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2.7"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s:-O2:${CFLAGS}:" \
+ Makefile || die "sed Makefile failed"
+
+ sed -i \
+ -e "s:/usr/share/trailblazer/trail\.dat:${GAMES_DATADIR}/${PN}/trail.dat:" \
+ -e "s:/usr/share/trailblazer/trail\.time:${GAMES_STATEDIR}/trail.time:" \
+ map.c || die "sed map.c failed"
+}
+
+src_install() {
+ dogamesbin trailblazer || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins trail.dat || die "doins failed"
+ dodoc README
+
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}${GAMES_STATEDIR}/trail.time"
+
+ prepgamesdirs
+ fperms 660 "${GAMES_STATEDIR}/trail.time"
+}