diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-08-19 01:57:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-08-19 01:57:02 +0000 |
commit | d11f59239eb2a4e0a043f2a12e59e2b69534a6a7 (patch) | |
tree | 48f1b30398034401710b4494ac8ad18898c07fa3 /games-mud/powwow | |
parent | macos stable (Manifest recommit) (diff) | |
download | gentoo-2-d11f59239eb2a4e0a043f2a12e59e2b69534a6a7.tar.gz gentoo-2-d11f59239eb2a4e0a043f2a12e59e2b69534a6a7.tar.bz2 gentoo-2-d11f59239eb2a4e0a043f2a12e59e2b69534a6a7.zip |
initial commit; ebuild based on the one submitted by Grzegorz Artur Daszuta via bug #57570
Diffstat (limited to 'games-mud/powwow')
-rw-r--r-- | games-mud/powwow/ChangeLog | 11 | ||||
-rw-r--r-- | games-mud/powwow/Manifest | 3 | ||||
-rw-r--r-- | games-mud/powwow/files/1.2.5-copyfile.patch | 11 | ||||
-rw-r--r-- | games-mud/powwow/files/digest-powwow-1.2.5 | 1 | ||||
-rw-r--r-- | games-mud/powwow/metadata.xml | 5 | ||||
-rw-r--r-- | games-mud/powwow/powwow-1.2.5.ebuild | 44 |
6 files changed, 75 insertions, 0 deletions
diff --git a/games-mud/powwow/ChangeLog b/games-mud/powwow/ChangeLog new file mode 100644 index 000000000000..a369a35396bf --- /dev/null +++ b/games-mud/powwow/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-mud/powwow +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/powwow/ChangeLog,v 1.1 2004/08/19 01:57:02 mr_bones_ Exp $ + +*powwow-1.2.5 (18 Aug 2004) + + 18 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml, + +files/1.2.5-copyfile.patch, +powwow-1.2.5.ebuild: + initial commit; ebuild based on the one submitted by Grzegorz Artur Daszuta + via bug #57570. + diff --git a/games-mud/powwow/Manifest b/games-mud/powwow/Manifest new file mode 100644 index 000000000000..069b3ff14be7 --- /dev/null +++ b/games-mud/powwow/Manifest @@ -0,0 +1,3 @@ +MD5 176e02295465b451b39d2298c090da9f powwow-1.2.5.ebuild 829 +MD5 3145e5cf5500ecfc98d055016cd605f4 files/digest-powwow-1.2.5 64 +MD5 97c900dc7518e77f09a461ebfa5f1a6e files/1.2.5-copyfile.patch 413 diff --git a/games-mud/powwow/files/1.2.5-copyfile.patch b/games-mud/powwow/files/1.2.5-copyfile.patch new file mode 100644 index 000000000000..3e7da3cb9ad7 --- /dev/null +++ b/games-mud/powwow/files/1.2.5-copyfile.patch @@ -0,0 +1,11 @@ +--- main.c.orig 2004-07-25 00:52:19.000000000 -0700 ++++ main.c 2004-07-25 00:52:39.000000000 -0700 +@@ -262,7 +262,7 @@ + strcpy(copyfile, powwow_dir); + else + strcpy(copyfile, POWWOW_DIR); +- if (helpfile[strlen(helpfile) - 1] != '/') ++ if (copyfile[strlen(copyfile) - 1] != '/') + strcat(copyfile, "/"); + strcat(copyfile, copyname); + if (access(copyfile, R_OK) == -1 && !access(copyname, R_OK)) diff --git a/games-mud/powwow/files/digest-powwow-1.2.5 b/games-mud/powwow/files/digest-powwow-1.2.5 new file mode 100644 index 000000000000..7b8cacddb2a8 --- /dev/null +++ b/games-mud/powwow/files/digest-powwow-1.2.5 @@ -0,0 +1 @@ +MD5 704b94581b396d6ea17c00a5d1149ae1 powwow-1.2.5.tar.gz 169159 diff --git a/games-mud/powwow/metadata.xml b/games-mud/powwow/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-mud/powwow/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-mud/powwow/powwow-1.2.5.ebuild b/games-mud/powwow/powwow-1.2.5.ebuild new file mode 100644 index 000000000000..b0f415c38c03 --- /dev/null +++ b/games-mud/powwow/powwow-1.2.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-mud/powwow/powwow-1.2.5.ebuild,v 1.1 2004/08/19 01:57:02 mr_bones_ Exp $ + +inherit gcc eutils games + +DESCRIPTION="PowWow Console MUD Client" +HOMEPAGE="http://linuz.sns.it/~max/powwow/" +SRC_URI="http://linuz.sns.it/~max/powwow/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.2" + +POWWOWDIR="${GAMES_DATADIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PV}-copyfile.patch" +} + +src_compile() { + emake \ + CC="$(gcc-getCC)" \ + CFLAGS="${CFLAGS} -DUSE_REGEXP -DPOWWOW_DIR=\"\\\"${POWWOWDIR}\\\"\"" \ + LDFLAGS="-lncurses" \ + powwow movie \ + || die "emake failed" +} + +src_install () { + dogamesbin powwow || die "dogamesbin failed" + newgamesbin movie movie_play + dosym movie_play "${GAMES_BINDIR}/movie2ascii" + insinto "${POWWOWDIR}" + doins powwow.help COPYING || die "doins failed" + dodoc README.* powwow.doc powwow-1.2.5.lsm Compile.how \ + Hacking Config.demo Changelog + prepgamesdirs +} |