summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-03 11:57:09 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-03 11:57:09 +0000
commit5c2872fda95dc4b029da935fa5992c692f54e9f5 (patch)
tree82213850608c5a0d4599dba9e9a169120934b5db /games-arcade/nibbles
parentVersion bump, pre8 doesnt appear to need the patches that were applied to pre7 (diff)
downloadhistorical-5c2872fda95dc4b029da935fa5992c692f54e9f5.tar.gz
historical-5c2872fda95dc4b029da935fa5992c692f54e9f5.tar.bz2
historical-5c2872fda95dc4b029da935fa5992c692f54e9f5.zip
initial commit - ebuild submitted by Adrian Fruehwirth via bug #72775
Diffstat (limited to 'games-arcade/nibbles')
-rw-r--r--games-arcade/nibbles/ChangeLog10
-rw-r--r--games-arcade/nibbles/Manifest4
-rw-r--r--games-arcade/nibbles/files/digest-nibbles-0.0.41
-rw-r--r--games-arcade/nibbles/metadata.xml5
-rw-r--r--games-arcade/nibbles/nibbles-0.0.4.ebuild55
5 files changed, 75 insertions, 0 deletions
diff --git a/games-arcade/nibbles/ChangeLog b/games-arcade/nibbles/ChangeLog
new file mode 100644
index 000000000000..993bad917c6d
--- /dev/null
+++ b/games-arcade/nibbles/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/nibbles
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/nibbles/ChangeLog,v 1.1 2004/12/03 11:57:09 mr_bones_ Exp $
+
+*nibbles-0.0.4 (03 Dec 2004)
+
+ 03 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +nibbles-0.0.4.ebuild:
+ initial commit - ebuild submitted by Adrian Fruehwirth via bug #72775
+
diff --git a/games-arcade/nibbles/Manifest b/games-arcade/nibbles/Manifest
new file mode 100644
index 000000000000..9a73017b3d71
--- /dev/null
+++ b/games-arcade/nibbles/Manifest
@@ -0,0 +1,4 @@
+MD5 d6a35adfd17eb2396d50a54525dd3003 nibbles-0.0.4.ebuild 1218
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 6b71db8d078483878101616d90d69cd2 ChangeLog 414
+MD5 66d148469f2356021a1a1a7cf32b4c64 files/digest-nibbles-0.0.4 65
diff --git a/games-arcade/nibbles/files/digest-nibbles-0.0.4 b/games-arcade/nibbles/files/digest-nibbles-0.0.4
new file mode 100644
index 000000000000..f49b1eb86cff
--- /dev/null
+++ b/games-arcade/nibbles/files/digest-nibbles-0.0.4
@@ -0,0 +1 @@
+MD5 066b7dee4044e202977f0c4882e1faeb nibbles-v0.0.4.tar.gz 18610
diff --git a/games-arcade/nibbles/metadata.xml b/games-arcade/nibbles/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/nibbles/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/nibbles/nibbles-0.0.4.ebuild b/games-arcade/nibbles/nibbles-0.0.4.ebuild
new file mode 100644
index 000000000000..86b670b6789f
--- /dev/null
+++ b/games-arcade/nibbles/nibbles-0.0.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/nibbles/nibbles-0.0.4.ebuild,v 1.1 2004/12/03 11:57:09 mr_bones_ Exp $
+
+inherit games
+
+MY_P=${PN}-v${PV}
+DESCRIPTION="An ncurses-based Nibbles clone"
+HOMEPAGE="http://www.earth.li/projectpurple/progs/nibbles.html"
+SRC_URI="http://www.earth.li/projectpurple/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s#/usr/local/games/nibbles.levels#${GAMES_DATADIR}/${PN}#" \
+ nibbles.h \
+ || die "sed failed"
+
+ sed -i \
+ -e "s#/var/lib/games/nibbles.score#${GAMES_STATEDIR}/nibbles.scores#" \
+ scoring.h \
+ || die "sed failed"
+ sed -i \
+ -e '/c.o:/d' \
+ -e '/CC.*-c/d' \
+ -e '/^CC/d' Makefile \
+ || die "sed failed"
+}
+
+src_install() {
+ dogamesbin nibbles || die "dogamesbin"
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins nibbles.levels/* || die "doins failed"
+
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}${GAMES_STATEDIR}/nibbles.scores"
+
+ dodoc HISTORY CREDITS TODO README
+
+ prepgamesdirs
+
+ fperms 664 "${GAMES_STATEDIR}/nibbles.scores"
+}