diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-22 20:39:52 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-22 20:39:52 +0000 |
commit | 38a686c1bbb133d0814fcfdba256f7d979a30fb8 (patch) | |
tree | 16162e1d23832fff2421eee54c20852452cf177d /games-roguelike/tome | |
parent | old (diff) | |
download | historical-38a686c1bbb133d0814fcfdba256f7d979a30fb8.tar.gz historical-38a686c1bbb133d0814fcfdba256f7d979a30fb8.tar.bz2 historical-38a686c1bbb133d0814fcfdba256f7d979a30fb8.zip |
old
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-roguelike/tome')
-rw-r--r-- | games-roguelike/tome/Manifest | 3 | ||||
-rw-r--r-- | games-roguelike/tome/files/2.3.1-gentoo-paths.patch | 31 | ||||
-rw-r--r-- | games-roguelike/tome/tome-2.3.1.ebuild | 80 |
3 files changed, 0 insertions, 114 deletions
diff --git a/games-roguelike/tome/Manifest b/games-roguelike/tome/Manifest index 4bd123863432..1e3fc7581302 100644 --- a/games-roguelike/tome/Manifest +++ b/games-roguelike/tome/Manifest @@ -1,8 +1,5 @@ -AUX 2.3.1-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 SHA1 c6c2203e504cd0b09f91c2ed8e3eec9fd6f84280 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 AUX 2.3.5-gentoo-paths.patch 1172 RMD160 284efaf1eb85ee17f9d08719179f835cf4777100 SHA1 c6c2203e504cd0b09f91c2ed8e3eec9fd6f84280 SHA256 e1978ac45c002a7b40a1f7123430a8aa1a4c45c48468b8d0bd6c670041a538e1 -DIST tome-231-src.tar.bz2 2638388 RMD160 f25e609409f0055a8fa3fade72bc42eb97e07338 SHA1 1c611663c90865cc56d90334efdf333e9ba70ed2 SHA256 f764e1e059c86f2591f5a830dccbfada67dba176b1dbbab6e562663deb979971 DIST tome-235-src.tar.bz2 2951227 RMD160 c13bf80cee65287c0d4280a1fa6aeb885eb7f21b SHA1 30e39f5b4464ef42abb9fa9e1b43f2cf7f0f3203 SHA256 8844b0b889bac3943ea2f4d4d43b38e2d91d242a93028e9e07403aaab46d691b -EBUILD tome-2.3.1.ebuild 2027 RMD160 4d49351e8ce3b45f97a3f6ef054573121735fba3 SHA1 4bd6631d968d26e3453eb2ba2ff0567898c84d36 SHA256 1cde3d021e40c8daccbeeecd829021a540a925d418992ed08e90121d9b79e4ca EBUILD tome-2.3.5.ebuild 3724 RMD160 f3512053988fd4c51a622d7bde647ea938cf9c16 SHA1 52307a6213cedcbe85f332469c0926d72477f91d SHA256 1e181851542e9a45872796ca6a400b7d0ee44bcfe4d25c5bc53a1b04382359d0 MISC ChangeLog 6011 RMD160 d8741ff3a34739c2a0dddb73e76136f3f2de22e0 SHA1 9ac38c3a9b18afdba585e9c60e33e2d1581747ec SHA256 44172cc07e7efb417fba656abbcc6ae571fa734850b7ec1ec847d63ffe7b3737 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-roguelike/tome/files/2.3.1-gentoo-paths.patch b/games-roguelike/tome/files/2.3.1-gentoo-paths.patch deleted file mode 100644 index d171a1cf540f..000000000000 --- a/games-roguelike/tome/files/2.3.1-gentoo-paths.patch +++ /dev/null @@ -1,31 +0,0 @@ -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/tome-2.3.1.ebuild b/games-roguelike/tome/tome-2.3.1.ebuild deleted file mode 100644 index e49070f4612f..000000000000 --- a/games-roguelike/tome/tome-2.3.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.3.1.ebuild,v 1.8 2009/07/31 13:51:20 nyhm 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.bz2" - -LICENSE="Moria" -SLOT="0" -KEYWORDS="~amd64 ppc x86" -IUSE="" - -RDEPEND=">=sys-libs/ncurses-5 - x11-libs/libX11" -DEPEND="${RDEPEND} - x11-misc/makedepend" - -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" - #bug #53640 - sed -i \ - -e "s:-DUSE_X11:-DUSE_GCU -DUSE_X11:" \ - -e "s:-lX11:-lncurses -lX11:" \ - makefile \ - || die "sed failed" - find "${S}" -name .cvsignore -exec rm -f \{\} \; - find "${S}/lib/edit" -type f -exec chmod a-x \{\} \; -} - -src_compile() { - cd src - make depend || die "make depend failed" - emake ./tolua || die "emake ./tolua failed" - emake \ - COPTS="${CFLAGS}" \ - BINDIR="${GAMES_BINDIR}" \ - LIBDIR="${GAMES_DATADIR}/${PN}" \ - || die "emake failed" -} - -src_install() { - cd src - make \ - DESTDIR="${D}" \ - OWNER="${GAMES_USER}" \ - BINDIR="${GAMES_BINDIR}" \ - LIBDIR="${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" - #FIXME: something has to be done about this. - 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 - elog "If you have older save files and you wish to continue those games," - elog "you'll need to remerge the version of ToME with which you started" - elog "those save-games." -} |