ver bump #30817 and perm fix #26334
authorMike Frysinger <vapier@gentoo.org>
Mon, 13 Oct 2003 20:04:34 +0000 (20:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 13 Oct 2003 20:04:34 +0000 (20:04 +0000)
games-roguelike/tome/ChangeLog
games-roguelike/tome/files/digest-tome-2.0.0 [deleted file]
games-roguelike/tome/files/digest-tome-2.1.0 [deleted file]
games-roguelike/tome/files/digest-tome-2.2.1 [deleted file]
games-roguelike/tome/files/digest-tome-2.2.2 [deleted file]
games-roguelike/tome/files/digest-tome-2.2.3 [new file with mode: 0644]
games-roguelike/tome/tome-2.0.0.ebuild [deleted file]
games-roguelike/tome/tome-2.1.0.ebuild [deleted file]
games-roguelike/tome/tome-2.2.1.ebuild [deleted file]
games-roguelike/tome/tome-2.2.3.ebuild [moved from games-roguelike/tome/tome-2.2.2.ebuild with 56% similarity]

index 3a1991db3cfb5744949897f3dd1abd8c32f5f939..3175c7b17fb4b80d1330176cc2d69208ea9709df 100644 (file)
@@ -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 (file)
index a4b74d1..0000000
+++ /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 (file)
index 3768c84..0000000
+++ /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 (file)
index 55b0aa7..0000000
+++ /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 (file)
index 150d14d..0000000
+++ /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 (file)
index 0000000..dff83c9
--- /dev/null
@@ -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 (file)
index cfa2748..0000000
+++ /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 (file)
index 0785bda..0000000
+++ /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 (file)
index 70a3075..0000000
+++ /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
-}
similarity index 56%
rename from games-roguelike/tome/tome-2.2.2.ebuild
rename to games-roguelike/tome/tome-2.2.3.ebuild
index 5388ead80f6496c4e264ebd8870a8eb123f02595..547b236c3291a27c6c4a55d95fb43d6ffd5ef373 100644 (file)
@@ -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
 }