diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-08 09:57:42 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-08 09:57:42 +0000 |
commit | bcc9516e50f56e307b8cd66f7e14ddd8653ac679 (patch) | |
tree | 4c92e422a2f2f61a993d7fb47388ecb00d8f4365 /games-arcade/cavezofphear | |
parent | initial commit (bug 32507) (diff) | |
download | historical-bcc9516e50f56e307b8cd66f7e14ddd8653ac679.tar.gz historical-bcc9516e50f56e307b8cd66f7e14ddd8653ac679.tar.bz2 historical-bcc9516e50f56e307b8cd66f7e14ddd8653ac679.zip |
initial commit (bug 32507)
Diffstat (limited to 'games-arcade/cavezofphear')
-rw-r--r-- | games-arcade/cavezofphear/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/cavezofphear/cavezofphear-0.1.ebuild | 49 | ||||
-rw-r--r-- | games-arcade/cavezofphear/files/digest-cavezofphear-0.1 | 1 | ||||
-rw-r--r-- | games-arcade/cavezofphear/metadata.xml | 9 |
4 files changed, 62 insertions, 1 deletions
diff --git a/games-arcade/cavezofphear/Manifest b/games-arcade/cavezofphear/Manifest index 44ec995a9263..599d70974080 100644 --- a/games-arcade/cavezofphear/Manifest +++ b/games-arcade/cavezofphear/Manifest @@ -1,2 +1,4 @@ -MD5 86e125c21f89c8072bde56495a024a59 cavezofphear-0.1.ebuild 870 +MD5 52134fdddc8406326735c91c80de5a50 cavezofphear-0.1.ebuild 1447 +MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 +MD5 79951a9b50dddbeb0ebb483de49fc159 ChangeLog 380 MD5 08654a018e0d95eacbb815e26e3c187f files/digest-cavezofphear-0.1 61 diff --git a/games-arcade/cavezofphear/cavezofphear-0.1.ebuild b/games-arcade/cavezofphear/cavezofphear-0.1.ebuild new file mode 100644 index 000000000000..22400c2216db --- /dev/null +++ b/games-arcade/cavezofphear/cavezofphear-0.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/cavezofphear/cavezofphear-0.1.ebuild,v 1.1 2003/11/08 09:57:40 mr_bones_ Exp $ + +inherit games + +S="${WORKDIR}/${P/cavezof/}" +DESCRIPTION="A boulder dash / digger-like game for console using ncurses" +HOMEPAGE="http://www.x86.no/cavezofphear/" +SRC_URI="http://www.x86.no/cavezofphear/${P/cavezof/}.tar.bz2" + +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND="sys-libs/ncurses" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i \ + -e 's/cd src.*/$(MAKE) -C src/' Makefile || \ + die "sed Makefile failed" + sed -i \ + -e 's/^all:.*/all: phear editor/' \ + -e "/^CFLAGS/ s:=.*:= ${CFLAGS}:" src/Makefile || \ + die "sed src/Makefile failed" + sed -i \ + -e 's/\.\///' \ + -e 's/editor/phear-editor/g' README-EDITOR || \ + die "sed README-EDITOR failed" + sed -i \ + -e "s:\"data/:\"${GAMES_DATADIR}/${PN}/data/:" \ + src/{chk.c,main.c,splash.c} || \ + die "sed data fix failed" +} + +src_install() { + dogamesbin src/phear || die "dogamesbin failed" + newgamesbin src/editor phear-editor || die "newgamesbin failed" + dodir "${GAMES_DATADIR}/${PN}" || die "dodir failed" + cp -r data/ "${D}${GAMES_DATADIR}/${PN}" || die "cp failed" + dodoc AUTHORS ChangeLog README* TODO || die "dodoc failed" + prepgamesdirs +} diff --git a/games-arcade/cavezofphear/files/digest-cavezofphear-0.1 b/games-arcade/cavezofphear/files/digest-cavezofphear-0.1 new file mode 100644 index 000000000000..00dbdd6c4fcf --- /dev/null +++ b/games-arcade/cavezofphear/files/digest-cavezofphear-0.1 @@ -0,0 +1 @@ +MD5 10875ba2d574e7e3cb293129876ee95d phear-0.1.tar.bz2 16858 diff --git a/games-arcade/cavezofphear/metadata.xml b/games-arcade/cavezofphear/metadata.xml new file mode 100644 index 000000000000..1cef6e243af3 --- /dev/null +++ b/games-arcade/cavezofphear/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> +<email>games@gentoo.org</email> +<name>Games Team</name> +</maintainer> +</pkgmetadata> |