summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-05 16:09:10 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-05 16:09:10 +0000
commitaf61a50070f2e2fcbd43c90e4000a77b44b777c8 (patch)
tree91b91fe0532f1e9c0387c81e51d20fdd5707eaa6 /games-roguelike/slashem
parentMarked ppc stable for bug #146409. (diff)
downloadgentoo-2-af61a50070f2e2fcbd43c90e4000a77b44b777c8.tar.gz
gentoo-2-af61a50070f2e2fcbd43c90e4000a77b44b777c8.tar.bz2
gentoo-2-af61a50070f2e2fcbd43c90e4000a77b44b777c8.zip
Version bump to 772 and closing bug #103583.
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'games-roguelike/slashem')
-rw-r--r--games-roguelike/slashem/ChangeLog14
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/GTK.configure22
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/Gentoo.configure5
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/Proxy.configure24
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/X11.configure18
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/dot.slashemrc112
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/gentoo-paths.patch26
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/gnome.configure21
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/makefile.patch27
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/opengl.configure10
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/prepare-gui.configure67
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/proxy.slashemrc4
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/qt.configure23
-rw-r--r--games-roguelike/slashem/files/0.0.7E7/sdl.configure16
-rw-r--r--games-roguelike/slashem/files/digest-slashem-0.0.7604
-rw-r--r--games-roguelike/slashem/files/digest-slashem-0.0.7726
-rw-r--r--games-roguelike/slashem/slashem-0.0.772.ebuild180
17 files changed, 577 insertions, 2 deletions
diff --git a/games-roguelike/slashem/ChangeLog b/games-roguelike/slashem/ChangeLog
index 070b9216aaf2..3d8f58fbcf57 100644
--- a/games-roguelike/slashem/ChangeLog
+++ b/games-roguelike/slashem/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for games-roguelike/slashem
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/ChangeLog,v 1.11 2006/06/09 01:23:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/ChangeLog,v 1.12 2006/10/05 16:09:10 wolf31o2 Exp $
+
+*slashem-0.0.772 (05 Oct 2006)
+
+ 05 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/0.0.7E7/GTK.configure, +files/0.0.7E7/Gentoo.configure,
+ +files/0.0.7E7/Proxy.configure, +files/0.0.7E7/X11.configure,
+ +files/0.0.7E7/dot.slashemrc, +files/0.0.7E7/gentoo-paths.patch,
+ +files/0.0.7E7/gnome.configure, +files/0.0.7E7/makefile.patch,
+ +files/0.0.7E7/opengl.configure, +files/0.0.7E7/prepare-gui.configure,
+ +files/0.0.7E7/proxy.slashemrc, +files/0.0.7E7/qt.configure,
+ +files/0.0.7E7/sdl.configure, +slashem-0.0.772.ebuild:
+ Version bump to 772 and closing bug #103583.
09 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
slashem-0.0.760.ebuild:
diff --git a/games-roguelike/slashem/files/0.0.7E7/GTK.configure b/games-roguelike/slashem/files/0.0.7E7/GTK.configure
new file mode 100644
index 000000000000..49c14fe6e5a0
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/GTK.configure
@@ -0,0 +1,22 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ undefine GNOME_GRAPHICS
+ define GTK_GRAPHICS
+ define GTK_PROXY
+END
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ undefine WINGNOMESRC
+ undefine WINGNOMEOBJ
+ undefine WINGNOMELIB
+ define WINGTKSRC
+ define WINGTKOBJ
+ define WINGTKLIB
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ undefine CNF_SHARE_GNOMEND
+ define CNF_SHARE_GTKND
+ define CNF_SHARE_GTKPROXYND
+END
diff --git a/games-roguelike/slashem/files/0.0.7E7/Gentoo.configure b/games-roguelike/slashem/files/0.0.7E7/Gentoo.configure
new file mode 100644
index 000000000000..f10d73df2893
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/Gentoo.configure
@@ -0,0 +1,5 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ redefine COMPRESS \"/bin/gzip\"
+END
+
diff --git a/games-roguelike/slashem/files/0.0.7E7/Proxy.configure b/games-roguelike/slashem/files/0.0.7E7/Proxy.configure
new file mode 100644
index 000000000000..56e79cbf3fcb
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/Proxy.configure
@@ -0,0 +1,24 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ define PROXY_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ define WINPROXYSRC
+ define PROXYUTLSRC
+ define PROXYCOMSRC
+ define PROXYCLNTSRC
+
+ define WINPROXYOBJ
+ define PROXYUTLOBJ
+ define PROXYCOMOBJ
+ define PROXYCLNTOBJ
+
+ define WINPROXYLIB
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ define CNF_SHARE_PROXYND
+END
diff --git a/games-roguelike/slashem/files/0.0.7E7/X11.configure b/games-roguelike/slashem/files/0.0.7E7/X11.configure
new file mode 100644
index 000000000000..8c9e362eb9ff
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/X11.configure
@@ -0,0 +1,18 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ define X11_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ define WINX11SRC
+ define WINX11OBJ
+ define WINX11LIB
+ redefine WINX11LIB "-lXaw -lXmu -lXext -lXt -lXpm -lX11"
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ define CNF_SHARE_X11ND
+ redefine CNF_SHARE_X11ND "x11bigtiles x11tiles SlashEM.ad pet_mark.xbm rip.xpm"
+END
diff --git a/games-roguelike/slashem/files/0.0.7E7/dot.slashemrc b/games-roguelike/slashem/files/0.0.7E7/dot.slashemrc
new file mode 100644
index 000000000000..518e8d67addc
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/dot.slashemrc
@@ -0,0 +1,112 @@
+#
+# Slash'EM configuration file.
+#
+# Naming this file $(HOME)/.slashemrc (for UNIX) or setting the environment
+# variable SLASHEMOPTIONS to point to its full path name elsewhere tells
+# Slash'EM to use X11 windowing and fonts (provided the executable was
+# compiled with that ability).
+#
+# SET YOUR WINDOW TYPE
+# Your windowtype choices are: GENTOO_WINDOWTYPES
+#
+OPTIONS=windowtype:tty
+
+TILESET=name:Small, file:x11tiles
+TILESET=name:Big, file:x11bigtiles, transparent
+TILESET=name:Big 3D, file:x11big3dtiles, transparent, pseudo3D
+
+# These tile definitions are used by the SDL/GL interface
+TILESET=name:gl 3D, file:gltile64.png, transparent, pseudo3D
+TILESET=name:gl Big, file:gltile32.png, transparent
+TILESET=name:gl Small, file:gltile16.png, transparent
+
+OPTIONS=tiles:Big
+#
+#
+#OPTIONS=toptenwin,hilite_pet,color,number_pad:2,verbose,news
+#OPTIONS=confirm,fixinv,noautopickup,safe_pet,sortpack,tombstone
+#OPTIONS=fruit:pineapple,dogname:Dhairrhuwyth
+#OPTIONS=male,catname:Ghisteslwchlohm
+#
+# There are 17 object symbols and various graphics symbols.
+# The descriptions of these symbols can be found in dat/opthelp.
+#
+#
+# Font: nh10 (10x20)
+#
+#OBJECTS= 180 183 188 192 181 184 182 189 190 196 \
+# 191 194 193 187 185 186 195
+#
+#DUNGEON= 032 025 018 013 012 014 011 015 023 024 \
+# 022 021 128 129 130 131 132 035 035 133 \
+# 134 135 136 137 145 146 144 124 143 142 \
+# 143 141 140 149 150 031 031 147 148 031 \
+# 161 140
+#
+#TRAPS= 138 138 138 138 138 138 138 138 138 138 \
+# 138 138 138 138 138 139 138 138 138 138 \
+# 138 138
+#
+#EFFECTS= 151 152 153 154 155 156 157 158 \
+# 159 160 161 162 \
+# 163 164 165 166 167 168 169 170 \
+# 171 172 173 174 175 176 177 178 179 \
+# 171 172 173 174 175 176 177 178 179 \
+# 171 172 173 174 175 176 177 178 179 \
+# 171 172 173 174 175 176 177 178 179 \
+# 171 172 173 174 175 176 177 178 179 \
+# 171 172 173 174 175 176 177 178 179 \
+# 171 172 173 174 175 176 177 178 179
+#
+#
+# Font: ibm (8x14)
+#
+#OBJECTS= 207 210 215 219 208 211 209 216 217 223 \
+# 218 221 220 214 212 213 222
+#
+#DUNGEON= 032 128 129 130 131 132 133 134 135 136 \
+# 137 138 139 045 124 142 143 035 035 144 \
+# 145 146 147 148 155 156 227 124 154 153 \
+# 154 152 151 159 160 200 200 157 158 250 \
+# 170 151
+#
+#TRAPS= 149 149 149 149 149 149 149 149 149 149 \
+# 149 149 149 149 149 150 149 149 149 149 \
+# 149 149
+#
+#EFFECTS= 161 162 163 164 165 166 167 168 \
+# 169 170 171 172 \
+# 173 174 175 176 177 178 179 180 \
+# 181 182 183 184 185 186 187 188 189 \
+# 181 182 183 184 185 186 187 188 189 \
+# 181 182 183 184 185 186 187 188 189 \
+# 181 182 183 184 185 186 187 188 189 \
+# 181 182 183 184 185 186 187 188 189 \
+# 181 182 183 184 185 186 187 188 189 \
+# 181 182 183 184 185 186 187 188 189
+#
+#
+# Font: a "standard" font like 6x13
+# Note that this version is unlikely to work on a tty on a Unix system because
+# many of these characters are also control characters.
+#
+#DUNGEON = 032 025 018 013 012 014 011 015 023 024 \
+# 022 021 031 045 124 043 043 035 035 031 \
+# 035 001 060 062 060 062 019 124 092 035 \
+# 092 123 125 031 125 046 046 035 035 046 \
+# 127 125
+#
+#TRAPS= 094 094 094 094 094 094 094 094 094 094 \
+# 094 094 094 094 094 002 094 094 094 094 \
+# 094 094
+#
+#EFFECTS= 124 045 092 047 042 033 041 040 \
+# 048 035 064 042 \
+# 047 045 092 124 124 092 045 047 \
+# 047 064 092 064 064 064 092 064 047 \
+# 047 064 092 064 064 064 092 064 047 \
+# 047 064 092 064 064 064 092 064 047 \
+# 047 064 092 064 064 064 092 064 047 \
+# 047 064 092 064 064 064 092 064 047 \
+# 047 064 092 064 064 064 092 064 047 \
+# 047 064 092 064 064 064 092 064 047
diff --git a/games-roguelike/slashem/files/0.0.7E7/gentoo-paths.patch b/games-roguelike/slashem/files/0.0.7E7/gentoo-paths.patch
new file mode 100644
index 000000000000..d170854f68f0
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/gentoo-paths.patch
@@ -0,0 +1,26 @@
+--- include/unixconf.h.orig 2003-08-14 21:40:11.533226120 -0400
++++ include/unixconf.h 2003-08-14 21:40:46.557901560 -0400
+@@ -154,13 +154,7 @@
+
+ /* #define NO_FILE_LINKS */ /* if no hard links */
+
+-#ifdef NO_FILE_LINKS
+-# ifdef FILE_AREAS
+-# define LOCKDIR FILE_AREA_VAR /* where to put locks */
+-# else
+-# define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */
+-# endif
+-#endif
++# define LOCKDIR "GENTOO_STATEDIR" /* where to put locks */
+
+ /*
+ * Define DEF_PAGER as your default pager, e.g. "/bin/cat" or "/usr/ucb/more"
+@@ -174,7 +168,7 @@
+ * If you want the static parts of your playground on a read-only file
+ * system, define VAR_PLAYGROUND to be where the variable parts are kept.
+ */
+-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */
++#define VAR_PLAYGROUND "GENTOO_STATEDIR"
+
+
+
diff --git a/games-roguelike/slashem/files/0.0.7E7/gnome.configure b/games-roguelike/slashem/files/0.0.7E7/gnome.configure
new file mode 100644
index 000000000000..a3178b28d04f
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/gnome.configure
@@ -0,0 +1,21 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ define GNOME_GRAPHICS
+ undefine GTK_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ undefine WINGTKSRC
+ undefine WINGTKOBJ
+ undefine WINGTKLIB
+ define WINGNOMESRC
+ define WINGNOMEOBJ
+ define WINGNOMELIB
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ undefine CNF_SHARE_GTKND
+ define CNF_SHARE_GNOMEND
+END
diff --git a/games-roguelike/slashem/files/0.0.7E7/makefile.patch b/games-roguelike/slashem/files/0.0.7E7/makefile.patch
new file mode 100644
index 000000000000..4f5af5534987
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/makefile.patch
@@ -0,0 +1,27 @@
+diff -Naurd slashem/sys/unix/Makefile.top slashem-0.0.7E6/sys/unix/Makefile.top
+--- slashem/sys/unix/Makefile.top 2003-12-02 13:46:08.000000000 +0200
++++ slashem-0.0.7E6/sys/unix/Makefile.top 2004-03-02 21:08:55.718790760 +0200
+@@ -290,7 +290,7 @@
+ $(MAKE) dofiles-$${target-nodlb}
+ cp src/$(GAME) $(FILE_AREA_UNSHARE)
+ cp util/recover $(FILE_AREA_UNSHARE)
+- cp dat/license doc/Guidebook.txt $(FILE_AREA_DOC)
++# cp dat/license doc/Guidebook.txt $(FILE_AREA_DOC)
+ # cp win/Qt/KDE/kslashem.kdelnk $(KDEDIR)/share/applnk/Games
+ -rm -f $(SHELLDIR)/$(GAME)
+ sed -e 's;/usr/games/lib/nethackdir;$(FILE_AREA_UNSHARE);' \
+@@ -302,10 +302,10 @@
+ $(CHGRP) $(GAMEGRP) $(GAME) recover )
+ chmod $(GAMEPERM) $(FILE_AREA_UNSHARE)/$(GAME)
+ chmod $(EXEPERM) $(FILE_AREA_UNSHARE)/recover
+- -( cd $(FILE_AREA_DOC) ; \
+- $(CHOWN) $(GAMEUID) license Guidebook.txt ; \
+- $(CHGRP) $(GAMEGRP) license Guidebook.txt ; \
+- chmod $(FILEPERM) license Guidebook.txt )
++# -( cd $(FILE_AREA_DOC) ; \
++# $(CHOWN) $(GAMEUID) license Guidebook.txt ; \
++# $(CHGRP) $(GAMEGRP) license Guidebook.txt ; \
++# chmod $(FILEPERM) license Guidebook.txt )
+ -$(CHOWN) $(GAMEUID) $(SHELLDIR)/$(GAME)
+ $(CHGRP) $(GAMEGRP) $(SHELLDIR)/$(GAME)
+ chmod $(EXEPERM) $(SHELLDIR)/$(GAME)
diff --git a/games-roguelike/slashem/files/0.0.7E7/opengl.configure b/games-roguelike/slashem/files/0.0.7E7/opengl.configure
new file mode 100644
index 000000000000..37466c28655c
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/opengl.configure
@@ -0,0 +1,10 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ define GL_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ define WINGLLIB
+END
+
diff --git a/games-roguelike/slashem/files/0.0.7E7/prepare-gui.configure b/games-roguelike/slashem/files/0.0.7E7/prepare-gui.configure
new file mode 100644
index 000000000000..803bd67a7354
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/prepare-gui.configure
@@ -0,0 +1,67 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ undefine X11_GRAPHICS
+ undefine QT_GRAPHICS
+ undefine GTK_GRAPHICS
+ undefine GNOME_GRAPHICS
+ undefine SDL_GRAPHICS
+ undefine GL_GRAPHICS
+ undefine PROXY_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ undefine WINX11SRC
+ undefine WINX11OBJ
+ undefine WINX11LIB
+
+ undefine WINQTSRC
+ undefine WINQTOBJ
+ undefine WINQTLIB
+
+ undefine WINGTKSRC
+ undefine WINGTKOBJ
+ undefine WINGTKLIB
+
+ undefine WINGNOMESRC
+ undefine WINGNOMEOBJ
+ undefine WINGNOMELIB
+
+ undefine WINPROXYSRC
+ undefine PROXYUTLSRC
+ undefine PROXYCOMSRC
+ undefine PROXYCLNTSRC
+
+ undefine WINPROXYOBJ
+ undefine PROXYUTLOBJ
+ undefine PROXYCOMOBJ
+ undefine PROXYCLNTOBJ
+
+ undefine WINPROXYLIB
+
+ undefine WINGLSRC
+ undefine WINGLOBJ
+ undefine WINGLLIB
+ undefine WINSDLLIB
+
+ undefine WINSRC
+ undefine WINOBJ
+ undefine WINLIB
+ define -C "to support all standard windowing systems" WINSRC
+ define -C "to support all standard windowing systems" WINOBJ
+ define -C "to support all standard windowing systems" WINLIB
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ undefine CNF_SHARE_QTND
+ undefine CNF_SHARE_X11ND
+ undefine CNF_SHARE_GTKND
+ undefine CNF_SHARE_GTKPROXYND
+ undefine CNF_SHARE_GLND
+ undefine CNF_SHARE_GNOMEND
+ undefine CNF_SHARE_PROXYND
+ redefine CNF_SHARE_DATND " \$(CNF_SHARE_QTND) \$(CNF_SHARE_X11ND) \\\
+ \$(CNF_SHARE_GTKND) \$(CNF_SHARE_GTKPROXYND) \$(CNF_SHARE_GLND) \\\
+ \$(CNF_SHARE_GNOMEND) \$(CNF_SHARE_PROXYND) "
+END
diff --git a/games-roguelike/slashem/files/0.0.7E7/proxy.slashemrc b/games-roguelike/slashem/files/0.0.7E7/proxy.slashemrc
new file mode 100644
index 000000000000..f28cdafb7b07
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/proxy.slashemrc
@@ -0,0 +1,4 @@
+TILESET=name:Small tiles, file:gltile16.png, transparent
+TILESET=name:Big tiles, file:gltile32.png, transparent
+TILESET=name:Big 3D tiles, file:gltile64.png, transparent, pseudo3D
+OPTIONS=tiles:Big 3D tiles
diff --git a/games-roguelike/slashem/files/0.0.7E7/qt.configure b/games-roguelike/slashem/files/0.0.7E7/qt.configure
new file mode 100644
index 000000000000..8e96c5004431
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/qt.configure
@@ -0,0 +1,23 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ define QT_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ define WINQTSRC
+ define WINQTOBJ
+ define WINQTLIB
+ define QTDIR
+ qtdir2=`echo /usr/lib/qt-2.*`
+ define QTDIR "${QTDIR:-$qtdir2}"
+ undefine CXXFLAGS
+ define CXXFLAGS
+ undefine LINK
+ define -C "Qt is C++" LINK
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ define CNF_SHARE_QTND
+END
diff --git a/games-roguelike/slashem/files/0.0.7E7/sdl.configure b/games-roguelike/slashem/files/0.0.7E7/sdl.configure
new file mode 100644
index 000000000000..f0c9e187ce14
--- /dev/null
+++ b/games-roguelike/slashem/files/0.0.7E7/sdl.configure
@@ -0,0 +1,16 @@
+configure config_h $toplevel/include/config.h
+BEGIN
+ define SDL_GRAPHICS
+END
+
+configure src_Makefile $toplevel/src/Makefile
+BEGIN
+ define WINGLSRC
+ define WINGLOBJ
+ define WINSDLLIB
+END
+
+configure Makefile $toplevel/Makefile
+BEGIN
+ define CNF_SHARE_GLND
+END
diff --git a/games-roguelike/slashem/files/digest-slashem-0.0.760 b/games-roguelike/slashem/files/digest-slashem-0.0.760
index a341446814ca..e20764c8d570 100644
--- a/games-roguelike/slashem/files/digest-slashem-0.0.760
+++ b/games-roguelike/slashem/files/digest-slashem-0.0.760
@@ -1,2 +1,4 @@
-MD5 20ad05ad166c764c5e50f41f7f311aea se007e6f3.tar.gz 5213184
MD5 c298d7083ab53298bd5107e91ea71a58 conf12s.tar.gz 4788
+RMD160 3ca60651585d2377c1eeea60dd398eae00a8ad16 conf12s.tar.gz 4788
+SHA256 76b5d0527434276db4876610651a0dc73698012b1cf93449c63a516355cd06f5 conf12s.tar.gz 4788
+MD5 20ad05ad166c764c5e50f41f7f311aea se007e6f3.tar.gz 5213184
diff --git a/games-roguelike/slashem/files/digest-slashem-0.0.772 b/games-roguelike/slashem/files/digest-slashem-0.0.772
new file mode 100644
index 000000000000..7210f0ff32c0
--- /dev/null
+++ b/games-roguelike/slashem/files/digest-slashem-0.0.772
@@ -0,0 +1,6 @@
+MD5 c298d7083ab53298bd5107e91ea71a58 conf12s.tar.gz 4788
+RMD160 3ca60651585d2377c1eeea60dd398eae00a8ad16 conf12s.tar.gz 4788
+SHA256 76b5d0527434276db4876610651a0dc73698012b1cf93449c63a516355cd06f5 conf12s.tar.gz 4788
+MD5 3211710cb299fe5d7109ca6480585299 se007e7f2.tar.gz 5218698
+RMD160 805198ea444a2e0e3b0218f09cf47198784435a0 se007e7f2.tar.gz 5218698
+SHA256 a520817f1fe19302f27db22a9c1762c27a669f7491e84bd22790ea4f67136b49 se007e7f2.tar.gz 5218698
diff --git a/games-roguelike/slashem/slashem-0.0.772.ebuild b/games-roguelike/slashem/slashem-0.0.772.ebuild
new file mode 100644
index 000000000000..a5dd3b46994c
--- /dev/null
+++ b/games-roguelike/slashem/slashem-0.0.772.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/slashem-0.0.772.ebuild,v 1.1 2006/10/05 16:09:10 wolf31o2 Exp $
+
+inherit eutils flag-o-matic games
+
+SE_VER="0.0.7E7"
+SE_FIXVER="${SE_VER}F2"
+SE_PN="se007e7f2.tar.gz"
+SE_CONF="conf12s.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="~amd64 ~ppc ~x86"
+IUSE="X gnome sdl opengl"
+
+XDEPEND="x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXext
+ x11-libs/libXt
+ x11-libs/libXpm
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libXdmcp"
+
+# qt? ( =x11-libs/qt-2* ) this version has overflow bugs #79720
+RDEPEND=">=sys-libs/ncurses-5.2-r5
+ X? ( ${XDEPEND} )
+ gnome? ( >=gnome-base/gnome-libs-1.4.1.4-r2 )
+ opengl? ( virtual/opengl
+ media-libs/libsdl )
+ sdl? ( media-libs/libsdl )"
+DEPEND="${RDEPEND}
+ dev-util/yacc"
+
+HACKDIR=${GAMES_STATEDIR}/${PN}
+S=${WORKDIR}/slashem-${SE_FIXVER}
+
+#pkg_setup() {
+# if use opengl && ! use sdl
+# then
+# die "You must enable SDL for OpenGL support."
+# fi
+#}
+
+src_unpack() {
+ unpack ${SE_PN}
+ cd "${S}"
+ EPATCH_SUFFIX="patch"
+ epatch ${FILESDIR}/${SE_VER}
+ 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.
+ append-flags -I../include -I/usr/X11R6/include
+
+ cd ${S}/sys/unix
+ source setup.sh || die
+
+ unpack ${SE_CONF}
+ cp -f ${FILESDIR}/${SE_VER}/*.configure . || die
+ for c in RedHat9 FHS20 Gentoo prepare-gui Proxy ; do
+ ./config ${c} ../..
+ done
+
+ if use X ; then
+ ./config X11 ../.. || die "X config"
+ fi
+ # Gnome and SDL require X11
+ for v in gnome sdl ; do #qt
+ use ${v} && { ./config ${v} ../.. || die "${v} config"; }
+ ./config X11 ../.. || die "X config"
+ done
+ # OpenGL requires SDL
+ if use opengl ; then
+ ./config opengl ../.. || die "opengl config"
+ ./config sdl ../.. || die "sdl config"
+ ./config X11 ../.. || die "X 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/slashem.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 || die "recover install"
+
+ 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"
+
+ insinto /etc/X11/app-defaults
+ newins SlashEM.ad SlashEM || die "app-defaults failed"
+ fi
+
+ insinto ${GAMES_DATADIR}/${PN}
+ doins ${FILESDIR}/${SE_VER}/dot.slashemrc
+
+ local windowtypes="tty"
+ use gnome && windowtypes="${windowtypes} gnome"
+ #use qt && windowtypes="${windowtypes} qt"
+ use X && windowtypes="${windowtypes} x11"
+ use sdl && windowtypes="${windowtypes} sdl"
+ use opengl && windowtypes="${windowtypes} gl"
+ set -- ${windowtypes}
+ dosed "s:GENTOO_WINDOWTYPES:${windowtypes}:" ${GAMES_DATADIR}/${PN}/dot.slashemrc
+ insinto /etc/skel
+ newins ${D}/${GAMES_DATADIR}/${PN}/dot.slashemrc .slashemrc
+ insinto /etc/slashem
+ doins ${FILESDIR}/${SE_VER}/proxy.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"
+}