summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-05-10 15:24:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-05-10 15:24:40 +0000
commitfa1b7d3d617cd98c8da6e2f7978639f6ca55b7d5 (patch)
treea882f75bfbf7eb176d61cfb6c8a73ee65398e461 /games-roguelike
parentRemoved buggy version. (diff)
downloadhistorical-fa1b7d3d617cd98c8da6e2f7978639f6ca55b7d5.tar.gz
historical-fa1b7d3d617cd98c8da6e2f7978639f6ca55b7d5.tar.bz2
historical-fa1b7d3d617cd98c8da6e2f7978639f6ca55b7d5.zip
clean old
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/slashem/Manifest26
-rw-r--r--games-roguelike/slashem/files/digest-slashem-0.0.6482
-rw-r--r--games-roguelike/slashem/slashem-0.0.648.ebuild151
3 files changed, 12 insertions, 167 deletions
diff --git a/games-roguelike/slashem/Manifest b/games-roguelike/slashem/Manifest
index 4b253dde9a89..8d35917513c3 100644
--- a/games-roguelike/slashem/Manifest
+++ b/games-roguelike/slashem/Manifest
@@ -1,27 +1,25 @@
-MD5 a644a65b01ba43e8c00ad11c45853209 ChangeLog 1624
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 1fabf8dd7da6d8d5dc7cbcc2838ea897 slashem-0.0.760.ebuild 4591
-MD5 a82c9cc554520b6080bee2894c04d552 slashem-0.0.648.ebuild 4529
+MD5 a644a65b01ba43e8c00ad11c45853209 ChangeLog 1624
MD5 7042d07dab18e8ce6bf5f99c2497db44 files/0.0.6E4F8-errno.patch 4788
MD5 c0702cf01cb9b34fb41418616181e7e8 files/0.0.6E4F8-gentoo-paths.patch 818
MD5 a7d2ae8f086e4eaf658e35e261ac9766 files/0.0.6E4F8-makefile.patch 6981
MD5 18340044152321018649d5b65c31278b files/X11.configure 630
-MD5 9393ce3bf57372ec847503f8c806a072 files/digest-slashem-0.0.648 120
+MD5 07f0de2a5c98da1af7a9e3ca3ce377fd files/qt.configure 182
MD5 7e5fae501e9a74fb3bc3eb1569308cdc files/dot.slashemrc 3491
MD5 582f28b3c2d30a80415ff9c92ca6e77b files/gnome.configure 275
-MD5 b38854e3518f58d3deb1751abf1049d9 files/gtk.configure 238
-MD5 07f0de2a5c98da1af7a9e3ca3ce377fd files/qt.configure 182
MD5 0cc7bbd2fbdb25cb8319834963f723ba files/digest-slashem-0.0.760 119
-MD5 a27b3edac6eefbb0c4e45ef0474125ee files/0.0.7E6/dot.slashemrc 3721
-MD5 1c4bea59f5c12d1fb16c3bb9854805e9 files/0.0.7E6/qt.configure 414
-MD5 57e259af161fb4cd14a21274e271a075 files/0.0.7E6/GTK.configure 426
+MD5 b38854e3518f58d3deb1751abf1049d9 files/gtk.configure 238
MD5 4f096566a3684ce493ef00b49d0c08cd files/0.0.7E6/makefile.patch 1258
-MD5 b9c67a0a6c43921a62aeab60b9b635c4 files/0.0.7E6/prepare-gui.configure 1466
-MD5 4a10db62e5c14c0a33073f355e22b371 files/0.0.7E6/Proxy.configure 395
+MD5 904e9a3b63565bebc075ee2e49c0fa6f files/0.0.7E6/va_copy.patch 637
MD5 3ccc6578d2395a9e31cf14cf97234921 files/0.0.7E6/proxy.slashemrc 207
-MD5 383053d0044677bb32c98ccc1851258c files/0.0.7E6/opengl.configure 151
MD5 6cca35560986e700c5cd8b07e571790e files/0.0.7E6/X11.configure 400
-MD5 c0702cf01cb9b34fb41418616181e7e8 files/0.0.7E6/gentoo-paths.patch 818
-MD5 517442a1ef6bed1c0a4547422d3fe256 files/0.0.7E6/sdl.configure 258
+MD5 1c4bea59f5c12d1fb16c3bb9854805e9 files/0.0.7E6/qt.configure 414
+MD5 a27b3edac6eefbb0c4e45ef0474125ee files/0.0.7E6/dot.slashemrc 3721
+MD5 383053d0044677bb32c98ccc1851258c files/0.0.7E6/opengl.configure 151
MD5 a390d1fc8a476b52da0e6e45e01001b1 files/0.0.7E6/gnome.configure 380
-MD5 904e9a3b63565bebc075ee2e49c0fa6f files/0.0.7E6/va_copy.patch 637
+MD5 4a10db62e5c14c0a33073f355e22b371 files/0.0.7E6/Proxy.configure 395
+MD5 57e259af161fb4cd14a21274e271a075 files/0.0.7E6/GTK.configure 426
+MD5 517442a1ef6bed1c0a4547422d3fe256 files/0.0.7E6/sdl.configure 258
+MD5 b9c67a0a6c43921a62aeab60b9b635c4 files/0.0.7E6/prepare-gui.configure 1466
+MD5 c0702cf01cb9b34fb41418616181e7e8 files/0.0.7E6/gentoo-paths.patch 818
diff --git a/games-roguelike/slashem/files/digest-slashem-0.0.648 b/games-roguelike/slashem/files/digest-slashem-0.0.648
deleted file mode 100644
index d1d470e1bb70..000000000000
--- a/games-roguelike/slashem/files/digest-slashem-0.0.648
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2abd847d4f5fc426d6c7ed5a97b0de99 se006e4f8.tar.gz 4331015
-MD5 388785f9880bcd471432f79434522a75 conf111s.tar.gz 3852
diff --git a/games-roguelike/slashem/slashem-0.0.648.ebuild b/games-roguelike/slashem/slashem-0.0.648.ebuild
deleted file mode 100644
index 65c0bbdc3d78..000000000000
--- a/games-roguelike/slashem/slashem-0.0.648.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/slashem-0.0.648.ebuild,v 1.10 2005/01/27 20:38:46 mr_bones_ Exp $
-
-inherit eutils flag-o-matic games
-
-SE_VER="0.0.6E4F8"
-SE_PN="se006e4f8.tar.gz"
-SE_CONF="conf111s.tar.gz"
-
-DESCRIPTION="Super Lotsa Added Stuff Hack - Extended Magic. A Nethack Variant."
-HOMEPAGE="http://www.slashem.org/"
-#SRC_URI="http://www.juiblex.co.uk/nethack/slashem/${SE_PN}"
-SRC_URI="mirror://sourceforge/slashem/${SE_PN}
- http://www.juiblex.co.uk/nethack/config/${SE_CONF}"
-
-LICENSE="nethack"
-SLOT="0"
-KEYWORDS="x86 amd64 ppc"
-IUSE="X qt gnome gtk"
-
-RDEPEND="virtual/libc
- >=sys-libs/ncurses-5.2-r5
- X? ( virtual/x11 )
- qt? ( =x11-libs/qt-2* )
- gnome? ( >=gnome-base/gnome-libs-1.4.1.4-r2 )
- gtk? ( =x11-libs/gtk+-1.2* )"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4
- dev-util/yacc"
-
-HACKDIR=${GAMES_STATEDIR}/${PN}
-S=${WORKDIR}/slashem-${SE_VER}
-
-src_unpack() {
- append-flags -I../include -I/usr/X11R6/include
- unpack ${SE_PN}
- epatch ${FILESDIR}/${SE_VER}-makefile.patch
- epatch ${FILESDIR}/${SE_VER}-errno.patch
- cd ${S}
- epatch ${FILESDIR}/${SE_VER}-gentoo-paths.patch
- sed -i \
- -e "s:GENTOO_STATEDIR:${GAMES_STATEDIR}/${PN}:" include/unixconf.h \
- || die "sed include/unixconf.h failed"
-
- # This copies the /sys/unix Makefile.*s to their correct places for
- # seding and compiling.
-
- cd ${S}/sys/unix
- source setup.sh || die
-
- unpack ${SE_CONF}
- cp -f ${FILESDIR}/*.configure . || die
- ./config RedHat ../..
- ./config FHS20 ../..
-
- if use X ; then
- ./config X11 ../.. || die "X config"
- use qt && { ./config qt ../.. || die "qt config"; }
- use gtk && { ./config gtk ../.. || die "gtk config"; }
- use gnome && { ./config gnome ../.. || die "gnome config"; }
- fi
-
- cd ${S}
- sed -i \
- -e "s:^\(\# define HACKDIR \).*:\1 \"${HACKDIR}\":" include/config.h \
- || die "config.h sed"
- sed -i -e "s:^\(CFLAGS =\).*:\1 ${CFLAGS}:" src/Makefile || die "src/makefile sed"
- sed -i \
- -e "s:^\(FILE_AREA_UNSHARE =\).*:\1 ${GAMES_LIBDIR}/${PN}:" Makefile \
- || die "makefile sed"
- sed -i \
- -e "s:^\(\#define FILE_AREA_UNSHARE \).*:\1\"${GAMES_LIBDIR}/${PN}/\":" include/unixconf.h \
- || die "unixconf.h sed"
-}
-
-src_compile() {
- make all || die "make all"
- cd ${S}/util
- make recover || die "make recover"
-}
-
-src_install() {
- make GAMEPERM=0750 \
- SHELLDIR=${D}/${GAMES_BINDIR} \
- FILE_AREA_VAR=${D}/${HACKDIR} \
- FILE_AREA_SAVE=${D}/${HACKDIR}/save \
- FILE_AREA_SHARE=${D}/${GAMES_DATADIR}/${PN} \
- FILE_AREA_UNSHARE=${D}/${GAMES_LIBDIR}/${PN} \
- FILE_AREA_DOC=${D}/usr/share/doc/${PF} \
- install || die "make install failed"
-
- dodoc doc/*.txt
- dodoc dat/license
- doman doc/*.6
-
- # The final /usr/bin/slashem is a sh script. This fixes the hard-coded
- # HACKDIR directory so it doesn't point to ${D}/usr/share/slashemdir
- dosed "s:^\(HACKDIR=\).*:\1${HACKDIR}:" ${GAMES_BINDIR}/${PN}
- dosed "s:^\(HACK=\).*:\1${GAMES_LIBDIR}/${PN}/${PN}:" ${GAMES_BINDIR}/${PN}
-
- newgamesbin util/recover recover-slashem
-
- if use X ; then
- # install slashem fonts
- dodir ${GAMES_DATADIR}/${PN}/fonts
- cd ${S}/win/X11
- bdftopcf -o nh10.pcf nh10.bdf || die "Converting fonts failed"
- bdftopcf -o ibm.pcf ibm.bdf || die "Converting fonts failed"
- insinto ${GAMES_DATADIR}/${PN}/fonts
- doins *.pcf
- cd ${D}${GAMES_DATADIR}/${PN}/fonts
- mkfontdir || die "The action mkfontdir ${D}{GAMES_DATADIR}/${PN}/fonts failed"
-
- # copy slashem X application defaults
- cd ${S}/win/X11
- sed -i \
- -e 's/^\(SlashEM\*font:\).*/\1 fixed/' \
- -e 's/^\(SlashEM\*map\*font:\).*/\1 fixed/' \
- -e 's:^!\(SlashEM.tile_file.*\):\1:' \
- SlashEM.ad \
- || die "Patching SlashEM.ad for X failed"
- cp SlashEM.ad SlashEM
-
- insinto /etc/X11/app-defaults
- newins SlashEM.ad SlashEM \
- || die "Failed to install SlashEM X app defaults"
- fi
-
- insinto ${GAMES_DATADIR}/${PN}
- doins ${FILESDIR}/dot.slashemrc
-
- local windowtypes="tty"
- use gnome && windowtypes="${windowtypes} gnome"
- use qt && windowtypes="${windowtypes} qt"
- use X && windowtypes="${windowtypes} x11"
- use gtk && windowtypes="${windowtypes} gtk"
- set -- ${windowtypes}
- dosed "s:GENTOO_WINDOWTYPES:${windowtypes}:" ${GAMES_DATADIR}/${PN}/dot.slashemrc
- insinto /etc/skel
- newins ${D}/${GAMES_DATADIR}/${PN}/dot.slashemrc .slashemrc
-
- keepdir ${HACKDIR}/save
- prepgamesdirs
- chmod -R g+w ${D}/${HACKDIR}
-}
-
-pkg_postinst() {
- games_pkg_postinst
- einfo "You may want to look at /etc/skel/.slashemrc for interesting options"
-}