summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-10-13 20:04:34 +0000
committerMike Frysinger <vapier@gentoo.org>2003-10-13 20:04:34 +0000
commitb28faa45fce002d6e735a8db559fd72e007935f2 (patch)
tree667688cab462c72c6c41c2fb6faf788d1fc56e0b /games-roguelike
parentInitial commit, still quite experimental (diff)
downloadgentoo-2-b28faa45fce002d6e735a8db559fd72e007935f2.tar.gz
gentoo-2-b28faa45fce002d6e735a8db559fd72e007935f2.tar.bz2
gentoo-2-b28faa45fce002d6e735a8db559fd72e007935f2.zip
ver bump #30817 and perm fix #26334
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/tome/ChangeLog7
-rw-r--r--games-roguelike/tome/files/digest-tome-2.0.01
-rw-r--r--games-roguelike/tome/files/digest-tome-2.1.01
-rw-r--r--games-roguelike/tome/files/digest-tome-2.2.11
-rw-r--r--games-roguelike/tome/files/digest-tome-2.2.21
-rw-r--r--games-roguelike/tome/files/digest-tome-2.2.31
-rw-r--r--games-roguelike/tome/tome-2.0.0.ebuild30
-rw-r--r--games-roguelike/tome/tome-2.1.0.ebuild42
-rw-r--r--games-roguelike/tome/tome-2.2.1.ebuild54
-rw-r--r--games-roguelike/tome/tome-2.2.3.ebuild (renamed from games-roguelike/tome/tome-2.2.2.ebuild)47
10 files changed, 32 insertions, 153 deletions
diff --git a/games-roguelike/tome/ChangeLog b/games-roguelike/tome/ChangeLog
index 3a1991db3cfb..3175c7b17fb4 100644
--- a/games-roguelike/tome/ChangeLog
+++ b/games-roguelike/tome/ChangeLog
@@ -1,6 +1,11 @@
# 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)
diff --git a/games-roguelike/tome/files/digest-tome-2.0.0 b/games-roguelike/tome/files/digest-tome-2.0.0
deleted file mode 100644
index a4b74d10dcaa..000000000000
--- a/games-roguelike/tome/files/digest-tome-2.0.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b6eaa8bd38175cce13346baa82ea3a22 tome-200-src.tgz 2755486
diff --git a/games-roguelike/tome/files/digest-tome-2.1.0 b/games-roguelike/tome/files/digest-tome-2.1.0
deleted file mode 100644
index 3768c846a8a5..000000000000
--- a/games-roguelike/tome/files/digest-tome-2.1.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bda364543e66497581d2267e7b99424f tome-210-src.tgz 2961137
diff --git a/games-roguelike/tome/files/digest-tome-2.2.1 b/games-roguelike/tome/files/digest-tome-2.2.1
deleted file mode 100644
index 55b0aa768807..000000000000
--- a/games-roguelike/tome/files/digest-tome-2.2.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 93324048f3c9a9cd43a367ef41bba30b tome-221-src.tgz 3045268
diff --git a/games-roguelike/tome/files/digest-tome-2.2.2 b/games-roguelike/tome/files/digest-tome-2.2.2
deleted file mode 100644
index 150d14d64ef6..000000000000
--- a/games-roguelike/tome/files/digest-tome-2.2.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 145686d06c0650951236b859e611d6b2 tome-222-src.tgz 3088530
diff --git a/games-roguelike/tome/files/digest-tome-2.2.3 b/games-roguelike/tome/files/digest-tome-2.2.3
new file mode 100644
index 000000000000..dff83c95dcea
--- /dev/null
+++ b/games-roguelike/tome/files/digest-tome-2.2.3
@@ -0,0 +1 @@
+MD5 1cd41062c169846f7b19bbccc5069066 tome-223-src.tgz 3188970
diff --git a/games-roguelike/tome/tome-2.0.0.ebuild b/games-roguelike/tome/tome-2.0.0.ebuild
deleted file mode 100644
index cfa27489063d..000000000000
--- a/games-roguelike/tome/tome-2.0.0.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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"
-}
diff --git a/games-roguelike/tome/tome-2.1.0.ebuild b/games-roguelike/tome/tome-2.1.0.ebuild
deleted file mode 100644
index 0785bdaffc94..000000000000
--- a/games-roguelike/tome/tome-2.1.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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"
-}
diff --git a/games-roguelike/tome/tome-2.2.1.ebuild b/games-roguelike/tome/tome-2.2.1.ebuild
deleted file mode 100644
index 70a30757c364..000000000000
--- a/games-roguelike/tome/tome-2.2.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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
-}
diff --git a/games-roguelike/tome/tome-2.2.2.ebuild b/games-roguelike/tome/tome-2.2.3.ebuild
index 5388ead80f64..547b236c3291 100644
--- a/games-roguelike/tome/tome-2.2.2.ebuild
+++ b/games-roguelike/tome/tome-2.2.3.ebuild
@@ -1,54 +1,57 @@
# 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
}