diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-12-03 11:57:09 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-12-03 11:57:09 +0000 |
commit | 14cc1814da1160ab208847fce5cfbf40c21a8445 (patch) | |
tree | d6ab55064270c8124b7d028026be3156300b97d3 /games-arcade/nibbles | |
parent | Version bump, pre8 doesnt appear to need the patches that were applied to pre... (diff) | |
download | gentoo-2-14cc1814da1160ab208847fce5cfbf40c21a8445.tar.gz gentoo-2-14cc1814da1160ab208847fce5cfbf40c21a8445.tar.bz2 gentoo-2-14cc1814da1160ab208847fce5cfbf40c21a8445.zip |
initial commit - ebuild submitted by Adrian Fruehwirth via bug #72775
Diffstat (limited to 'games-arcade/nibbles')
-rw-r--r-- | games-arcade/nibbles/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/nibbles/Manifest | 2 | ||||
-rw-r--r-- | games-arcade/nibbles/files/digest-nibbles-0.0.4 | 1 | ||||
-rw-r--r-- | games-arcade/nibbles/metadata.xml | 5 | ||||
-rw-r--r-- | games-arcade/nibbles/nibbles-0.0.4.ebuild | 55 |
5 files changed, 73 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..b8f122079abd --- /dev/null +++ b/games-arcade/nibbles/Manifest @@ -0,0 +1,2 @@ +MD5 ffda7f32e43eef42e92a893c047972c2 nibbles-0.0.4.ebuild 1020 +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" +} |