diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-14 07:19:45 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-14 07:19:45 +0000 |
commit | a1f681dd431eb05a23120fe00328b693dceb8b41 (patch) | |
tree | 0f38e1487563af931ca5062554ba69847788bc98 /games-roguelike/tome | |
parent | Fixup variable. (diff) | |
download | historical-a1f681dd431eb05a23120fe00328b693dceb8b41.tar.gz historical-a1f681dd431eb05a23120fe00328b693dceb8b41.tar.bz2 historical-a1f681dd431eb05a23120fe00328b693dceb8b41.zip |
version bump (bug #47185)
Diffstat (limited to 'games-roguelike/tome')
-rw-r--r-- | games-roguelike/tome/ChangeLog | 8 | ||||
-rw-r--r-- | games-roguelike/tome/Manifest | 5 | ||||
-rw-r--r-- | games-roguelike/tome/files/2.2.6-gentoo-paths.patch | 31 | ||||
-rw-r--r-- | games-roguelike/tome/files/digest-tome-2.2.6 | 1 | ||||
-rw-r--r-- | games-roguelike/tome/tome-2.2.6.ebuild | 71 |
5 files changed, 114 insertions, 2 deletions
diff --git a/games-roguelike/tome/ChangeLog b/games-roguelike/tome/ChangeLog index 5505ce3c671f..e94392714edc 100644 --- a/games-roguelike/tome/ChangeLog +++ b/games-roguelike/tome/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-roguelike/tome # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/ChangeLog,v 1.7 2004/03/31 06:28:18 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/ChangeLog,v 1.8 2004/04/14 07:19:44 mr_bones_ Exp $ + +*tome-2.2.6 (14 Apr 2004) + + 14 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> tome-2.2.6.ebuild, + files/2.2.6-gentoo-paths.patch: + version bump (bug #47185) 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> tome-1.0.0.ebuild: remove version 1 diff --git a/games-roguelike/tome/Manifest b/games-roguelike/tome/Manifest index dce28a477e75..49505077d0c6 100644 --- a/games-roguelike/tome/Manifest +++ b/games-roguelike/tome/Manifest @@ -1,9 +1,12 @@ -MD5 c1ab16d523a5dc9c9d860993e4e55e70 ChangeLog 2284 +MD5 e294866c6d49c5878723ebc64b2531da ChangeLog 2448 +MD5 aa967ef511cf2dc52819008f3f662131 tome-2.2.6.ebuild 1725 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 9f148c90d24158dc3477992dbc34e721 tome-2.2.3.ebuild 1408 MD5 486f01e3f3f6d898bfc497c42553b5d6 tome-2.2.5.ebuild 1441 MD5 43a5064877930e38a5ac03a125208731 tome-2.2.5-r1.ebuild 1573 +MD5 23dd9f8f71868b8ab82d8bbbc79ad740 files/2.2.6-gentoo-paths.patch 1172 MD5 129d70105453afe3da145b2b38cf60c9 files/digest-tome-2.2.3 62 MD5 44a615ff66d86ba4e6b431a73ed386bc files/digest-tome-2.2.5 62 MD5 23dd9f8f71868b8ab82d8bbbc79ad740 files/2.2.5-gentoo-paths.patch 1172 MD5 44a615ff66d86ba4e6b431a73ed386bc files/digest-tome-2.2.5-r1 62 +MD5 5a001b935d01d828ea36c4f5b1c75419 files/digest-tome-2.2.6 65 diff --git a/games-roguelike/tome/files/2.2.6-gentoo-paths.patch b/games-roguelike/tome/files/2.2.6-gentoo-paths.patch new file mode 100644 index 000000000000..d171a1cf540f --- /dev/null +++ b/games-roguelike/tome/files/2.2.6-gentoo-paths.patch @@ -0,0 +1,31 @@ +diff -rU 1 tome-225-src.orig/src/files.c tome-225-src/src/files.c +--- tome-225-src.orig/src/files.c 2004-01-14 11:17:02.423263360 -0500 ++++ tome-225-src/src/files.c 2004-01-14 11:17:50.074019344 -0500 +@@ -5670,3 +5670,3 @@ + /* Build the filename */ +- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); ++ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); + +@@ -5748,3 +5748,3 @@ + /* Build the filename */ +- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); ++ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); + +@@ -5846,3 +5846,3 @@ + /* Build the filename */ +- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); ++ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); + +@@ -6296,3 +6296,3 @@ + /* Build the filename */ +- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); ++ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); + +diff -rU 1 tome-225-src.orig/src/init2.c tome-225-src/src/init2.c +--- tome-225-src.orig/src/init2.c 2004-01-14 11:17:02.473255760 -0500 ++++ tome-225-src/src/init2.c 2004-01-14 11:17:58.286770816 -0500 +@@ -6686,3 +6686,3 @@ + /* Build the filename */ +- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw"); ++ sprintf(buf, "GENTOO_DIR/tome-scores.raw"); + diff --git a/games-roguelike/tome/files/digest-tome-2.2.6 b/games-roguelike/tome/files/digest-tome-2.2.6 new file mode 100644 index 000000000000..9eaf87d3dc4c --- /dev/null +++ b/games-roguelike/tome/files/digest-tome-2.2.6 @@ -0,0 +1 @@ +MD5 e6818a5a65e2d0005275233c304c0f71 tome-226-src.tar.gz 3182901 diff --git a/games-roguelike/tome/tome-2.2.6.ebuild b/games-roguelike/tome/tome-2.2.6.ebuild new file mode 100644 index 000000000000..5c688d46a3a2 --- /dev/null +++ b/games-roguelike/tome/tome-2.2.6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.2.6.ebuild,v 1.1 2004/04/14 07:19:44 mr_bones_ Exp $ + +inherit eutils games + +MY_PV=${PV//./} +DESCRIPTION="save the world from Morgoth and battle evil (or become evil ;])" +HOMEPAGE="http://t-o-m-e.net/" +SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tar.gz" + +LICENSE="Moria" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +RDEPEND="virtual/glibc + dev-lang/lua + >=sys-libs/ncurses-5 + virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +S=${WORKDIR}/tome-${MY_PV}-src + +src_unpack() { + unpack ${A} + cd ${S}/src + mv makefile.std makefile + epatch "${FILESDIR}/${PV}-gentoo-paths.patch" + sed -i \ + -e "s:GENTOO_DIR:${GAMES_STATEDIR}:" files.c init2.c \ + || die "sed failed" +} + +src_compile() { + cd src + make depend || die "make depend failed" + emake -j1 \ + COPTS="${CFLAGS}" \ + BINDIR=${GAMES_BINDIR} \ + LIBDIR=${GAMES_DATADIR}/${PN} \ + || die "emake failed" +} + +src_install() { + cd src + emake -j1 \ + OWNER=${GAMES_USER} \ + BINDIR=${D}/${GAMES_BINDIR} \ + LIBDIR=${D}/${GAMES_DATADIR}/${PN} install \ + || die "make install failed" + cd ${S} + dodoc *.txt + + dodir "${GAMES_STATEDIR}" + touch "${D}/${GAMES_STATEDIR}/${PN}-scores.raw" + prepgamesdirs + fperms g+w "${GAMES_STATEDIR}/${PN}-scores.raw" + fperms g+w "${GAMES_DATADIR}/${PN}/data" +} + +pkg_postinst() { + games_pkg_postinst + echo + ewarn "ToME ${PV} is not save-game compatible with previous versions." + echo + einfo "If you have older save files and you wish to continue those games," + einfo "you'll need to remerge the version of ToME with which you started" + einfo "those save-games." +} |