diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-27 03:52:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-27 03:52:18 +0000 |
commit | 4a34ce55d52e708b3da36224b853558d649b7e5f (patch) | |
tree | fd09bf3ee123f86199387e56cf0613500b219474 /games-roguelike/slashem | |
parent | initial ebuild #74221 (diff) | |
download | historical-4a34ce55d52e708b3da36224b853558d649b7e5f.tar.gz historical-4a34ce55d52e708b3da36224b853558d649b7e5f.tar.bz2 historical-4a34ce55d52e708b3da36224b853558d649b7e5f.zip |
Version bump #43500 by Pekka Rousu.
Diffstat (limited to 'games-roguelike/slashem')
16 files changed, 574 insertions, 8 deletions
diff --git a/games-roguelike/slashem/ChangeLog b/games-roguelike/slashem/ChangeLog index afb3f1a65018..51d4160d6c50 100644 --- a/games-roguelike/slashem/ChangeLog +++ b/games-roguelike/slashem/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for games-roguelike/slashem # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/ChangeLog,v 1.7 2004/12/16 15:23:25 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/ChangeLog,v 1.8 2004/12/27 03:52:18 vapier Exp $ + +*slashem-0.0.760 (26 Dec 2004) + + 26 Dec 2004; Mike Frysinger <vapier@gentoo.org> + +files/0.0.7E6/GTK.configure, +files/0.0.7E6/Proxy.configure, + +files/0.0.7E6/X11.configure, +files/0.0.7E6/dot.slashemrc, + +files/0.0.7E6/gentoo-paths.patch, +files/0.0.7E6/gnome.configure, + +files/0.0.7E6/makefile.patch, +files/0.0.7E6/opengl.configure, + +files/0.0.7E6/prepare-gui.configure, +files/0.0.7E6/proxy.slashemrc, + +files/0.0.7E6/qt.configure, +files/0.0.7E6/sdl.configure, + +slashem-0.0.760.ebuild: + Version bump #43500 by Pekka Rousu. 17 Dec 2004; Joseph Jezak <josejx@gentoo.org> slashem-0.0.648.ebuild: Marked ppc stable. diff --git a/games-roguelike/slashem/Manifest b/games-roguelike/slashem/Manifest index 366a8abf2494..1f4c8875eba2 100644 --- a/games-roguelike/slashem/Manifest +++ b/games-roguelike/slashem/Manifest @@ -1,12 +1,36 @@ -MD5 2726970cc9719c32b5424d84ca8e351d ChangeLog 904 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 1542fe1b0fdfbf9cb85c48ef2f69e778 ChangeLog 1446 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 8d890e635ed2081cd010e83e55cc00c5 slashem-0.0.760.ebuild 4648 MD5 f5241b0d6dabaf677bfa7f64c5562463 slashem-0.0.648.ebuild 4525 +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 07f0de2a5c98da1af7a9e3ca3ce377fd files/qt.configure 182 -MD5 582f28b3c2d30a80415ff9c92ca6e77b files/gnome.configure 275 MD5 9393ce3bf57372ec847503f8c806a072 files/digest-slashem-0.0.648 120 -MD5 a7d2ae8f086e4eaf658e35e261ac9766 files/0.0.6E4F8-makefile.patch 6981 -MD5 c0702cf01cb9b34fb41418616181e7e8 files/0.0.6E4F8-gentoo-paths.patch 818 -MD5 b38854e3518f58d3deb1751abf1049d9 files/gtk.configure 238 MD5 7e5fae501e9a74fb3bc3eb1569308cdc files/dot.slashemrc 3491 -MD5 7042d07dab18e8ce6bf5f99c2497db44 files/0.0.6E4F8-errno.patch 4788 +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 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 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 a390d1fc8a476b52da0e6e45e01001b1 files/0.0.7E6/gnome.configure 380 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFBz4cCroRuSHgZdywRAv7oAKCIu4ik02FllcTqrdrhL1L0bhW65QCfejTH +sW8YTPcA8lL78maAWbC6n/k= +=0S4i +-----END PGP SIGNATURE----- diff --git a/games-roguelike/slashem/files/0.0.7E6/GTK.configure b/games-roguelike/slashem/files/0.0.7E6/GTK.configure new file mode 100644 index 000000000000..49c14fe6e5a0 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/Proxy.configure b/games-roguelike/slashem/files/0.0.7E6/Proxy.configure new file mode 100644 index 000000000000..56e79cbf3fcb --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/X11.configure b/games-roguelike/slashem/files/0.0.7E6/X11.configure new file mode 100644 index 000000000000..8c9e362eb9ff --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/dot.slashemrc b/games-roguelike/slashem/files/0.0.7E6/dot.slashemrc new file mode 100644 index 000000000000..518e8d67addc --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/gentoo-paths.patch b/games-roguelike/slashem/files/0.0.7E6/gentoo-paths.patch new file mode 100644 index 000000000000..d170854f68f0 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/gnome.configure b/games-roguelike/slashem/files/0.0.7E6/gnome.configure new file mode 100644 index 000000000000..a3178b28d04f --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/makefile.patch b/games-roguelike/slashem/files/0.0.7E6/makefile.patch new file mode 100644 index 000000000000..4f5af5534987 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/opengl.configure b/games-roguelike/slashem/files/0.0.7E6/opengl.configure new file mode 100644 index 000000000000..37466c28655c --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/prepare-gui.configure b/games-roguelike/slashem/files/0.0.7E6/prepare-gui.configure new file mode 100644 index 000000000000..803bd67a7354 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/proxy.slashemrc b/games-roguelike/slashem/files/0.0.7E6/proxy.slashemrc new file mode 100644 index 000000000000..f28cdafb7b07 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/qt.configure b/games-roguelike/slashem/files/0.0.7E6/qt.configure new file mode 100644 index 000000000000..8e96c5004431 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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.7E6/sdl.configure b/games-roguelike/slashem/files/0.0.7E6/sdl.configure new file mode 100644 index 000000000000..f0c9e187ce14 --- /dev/null +++ b/games-roguelike/slashem/files/0.0.7E6/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 new file mode 100644 index 000000000000..a341446814ca --- /dev/null +++ b/games-roguelike/slashem/files/digest-slashem-0.0.760 @@ -0,0 +1,2 @@ +MD5 20ad05ad166c764c5e50f41f7f311aea se007e6f3.tar.gz 5213184 +MD5 c298d7083ab53298bd5107e91ea71a58 conf12s.tar.gz 4788 diff --git a/games-roguelike/slashem/slashem-0.0.760.ebuild b/games-roguelike/slashem/slashem-0.0.760.ebuild new file mode 100644 index 000000000000..fca76e3f1055 --- /dev/null +++ b/games-roguelike/slashem/slashem-0.0.760.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/slashem-0.0.760.ebuild,v 1.1 2004/12/27 03:52:18 vapier Exp $ + +inherit eutils flag-o-matic games + +SE_VER="0.0.7E6" +SE_FIXVER="${SE_VER}F3" +SE_PN="se007e6f3.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 qt gnome sdl opengl" + +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 ) + opengl? ( virtual/opengl ) + sdl? ( media-libs/libsdl )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + dev-util/yacc" + +HACKDIR=${GAMES_STATEDIR}/${PN} +S=${WORKDIR}/slashem-${SE_FIXVER} + +src_unpack() { + unpack ${SE_PN} + cd ${S} + epatch ${FILESDIR}/${SE_VER}/makefile.patch + 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. + 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 + ./config RedHat9 ../.. + ./config FHS20 ../.. + ./config prepare-gui ../.. + ./config Proxy ../.. + + if use X ; then + ./config X11 ../.. || die "X config" + for v in qt gnome sdl opengl ; do + use ${v} && { ./config ${v} ../.. || die "${v} config"; } + done + fi +return 0 + + 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 || 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" +} |