# ChangeLog for games-roguelike/tome
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/ChangeLog,v 1.2 2003/09/10 15:54:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/ChangeLog,v 1.3 2003/10/13 20:04:34 vapier Exp $
+
+*tome-2.2.3 (13 Oct 2003)
+
+ 13 Oct 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage #30817 to also fix permissions #26334.
*tome-2.2.2 (28 Jul 2003)
+++ /dev/null
-MD5 b6eaa8bd38175cce13346baa82ea3a22 tome-200-src.tgz 2755486
+++ /dev/null
-MD5 bda364543e66497581d2267e7b99424f tome-210-src.tgz 2961137
+++ /dev/null
-MD5 93324048f3c9a9cd43a367ef41bba30b tome-221-src.tgz 3045268
+++ /dev/null
-MD5 145686d06c0650951236b859e611d6b2 tome-222-src.tgz 3088530
--- /dev/null
+MD5 1cd41062c169846f7b19bbccc5069066 tome-223-src.tgz 3188970
+++ /dev/null
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.0.0.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $
-
-MY_PV=${PV//./}
-S="${WORKDIR}/tome-${MY_PV}-src"
-
-DESCRIPTION="A roguelike game, where you can save the world from Morgoth and battle evil (or become evil ;])"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tgz"
-HOMEPAGE="http://t-o-m-e.net/"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5
- >=x11-base/xfree-4.0"
-
-src_compile() {
- cd ${S}/src
- cp makefile.org makefile.org.old
- sed -e "s:-O1:${CFLAGS}:" \
- makefile.org.old > makefile.org
- emake -f makefile.org BINDIR=/usr/bin LIBDIR=/usr/share/tome/lib || die "compile failed"
-}
-
-src_install () {
- cd ${S}/src
- make -f makefile.org BINDIR=${D}/usr/bin LIBDIR=${D}/usr/share/tome/lib install || die "install failed"
-}
+++ /dev/null
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.1.0.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $
-
-MY_PV=${PV//./}
-S="${WORKDIR}/tome-${MY_PV}-src"
-
-DESCRIPTION="A roguelike game, where you can save the world from Morgoth and battle evil (or become evil ;])"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tgz"
-HOMEPAGE="http://t-o-m-e.net/"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5
- >=x11-base/xfree-4.0"
-
-src_unpack() {
- unpack ${A}
- cd ${S}/src && \
- sed -i \
- -e "s:-O1:${CFLAGS}:" \
- makefile.std || die "sed makefile.std failed"
-}
-
-src_compile() {
- cd src && \
- make -f makefile.std \
- BINDIR=/usr/games/bin \
- LIBDIR=/usr/share/games/tome/lib || die "make failed"
-}
-
-src_install() {
- cd ${S}/src && \
- make -f makefile.std \
- BINDIR=${D}/usr/games/bin \
- LIBDIR=${D}/usr/share/games/tome/lib install || \
- die "make install failed"
- cd ${S} && \
- dodoc *.txt || die "dodoc failed"
-}
+++ /dev/null
-# Copyright 1999-2003 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.1.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $
-
-MY_PV=${PV//./}
-S="${WORKDIR}/tome-${MY_PV}-src"
-
-DESCRIPTION="A roguelike game, where you can save the world from Morgoth and battle evil (or become evil ;])"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ppc"
-SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tgz"
-HOMEPAGE="http://t-o-m-e.net/"
-
-DEPEND="virtual/glibc
- >=sys-libs/ncurses-5
- >=x11-base/xfree-4.0"
-
-src_unpack() {
- unpack ${A}
- cd ${S}/src && \
- sed -i \
- -e "s:-O1:${CFLAGS}:" \
- makefile.std || die "sed makefile.std failed"
-}
-
-src_compile() {
- cd src && \
- make -f makefile.std \
- BINDIR=/usr/games/bin \
- LIBDIR=/usr/share/games/tome/lib || die "make failed"
-}
-
-src_install() {
- cd ${S}/src && \
- make -f makefile.std \
- BINDIR=${D}/usr/games/bin \
- LIBDIR=${D}/usr/share/games/tome/lib install || \
- die "make install failed"
- cd ${S} && \
- dodoc *.txt || die "dodoc failed"
-}
-
-pkg_postinst() {
- echo
- ewarn "ToME 2.2.1 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."
- echo
-
- games_pkg_postinst
-}
# Copyright 1999-2003 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.2.ebuild,v 1.1 2003/09/10 04:59:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tome/tome-2.2.3.ebuild,v 1.1 2003/10/13 20:04:34 vapier Exp $
inherit games
MY_PV=${PV//./}
-S="${WORKDIR}/tome-${MY_PV}-src"
+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.tgz"
-DESCRIPTION="A roguelike game, where you can save the world from Morgoth and battle evil (or become evil ;])"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
-SRC_URI="http://t-o-m-e.net/dl/src/tome-${MY_PV}-src.tgz"
-HOMEPAGE="http://t-o-m-e.net/"
RDEPEND="virtual/glibc
>=sys-libs/ncurses-5
- >=x11-base/xfree-4.0"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
+ virtual/x11"
+
+S=${WORKDIR}/tome-${MY_PV}-src
src_compile() {
- cd src && \
- emake -f makefile.std \
+ cd src
+ emake \
+ -f makefile.std \
COPTS="${CFLAGS}" \
BINDIR=${GAMES_BINDIR} \
- LIBDIR=${GAMES_DATADIR}/tome/lib || \
- die "emake failed"
+ LIBDIR=${GAMES_DATADIR}/${PN} \
+ || die "emake failed"
}
src_install() {
- cd ${S}/src && \
- make -f makefile.std \
- BINDIR=${D}${GAMES_BINDIR} \
- LIBDIR=${D}${GAMES_DATADIR}/tome/lib install || \
- die "make install failed"
- cd ${S} && \
- dodoc *.txt || die "dodoc failed"
+ cd ${S}/src
+ emake \
+ -f makefile.std \
+ OWNER=${GAMES_USER} \
+ BINDIR=${D}/${GAMES_BINDIR} \
+ LIBDIR=${D}/${GAMES_DATADIR}/${PN} install \
+ || die "make install failed"
+ cd ${S}
+ dodoc *.txt
prepgamesdirs
+ touch ${D}/${GAMES_DATADIR}/${PN}/apex/scores.raw
+ fperms g+w ${GAMES_DATADIR}/${PN}/apex/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."
- echo
-
- games_pkg_postinst
}