diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-06-12 12:59:00 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-06-12 12:59:00 +0000 |
commit | 94fda3b110eda552a2cbb793496ed703cd368bc6 (patch) | |
tree | 4eaa046dca12b4bf3a2d66f174004e5dd69646d9 /games-roguelike/slashem | |
parent | Replacing einfo with elog (diff) | |
download | gentoo-2-94fda3b110eda552a2cbb793496ed703cd368bc6.tar.gz gentoo-2-94fda3b110eda552a2cbb793496ed703cd368bc6.tar.bz2 gentoo-2-94fda3b110eda552a2cbb793496ed703cd368bc6.zip |
rm old
(Portage version: 2.1.2.9)
Diffstat (limited to 'games-roguelike/slashem')
17 files changed, 4 insertions, 579 deletions
diff --git a/games-roguelike/slashem/files/0.0.7E6/GTK.configure b/games-roguelike/slashem/files/0.0.7E6/GTK.configure deleted file mode 100644 index 49c14fe6e5a0..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/GTK.configure +++ /dev/null @@ -1,22 +0,0 @@ -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/Gentoo.configure b/games-roguelike/slashem/files/0.0.7E6/Gentoo.configure deleted file mode 100644 index f10d73df2893..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/Gentoo.configure +++ /dev/null @@ -1,5 +0,0 @@ -configure config_h $toplevel/include/config.h -BEGIN - redefine COMPRESS \"/bin/gzip\" -END - diff --git a/games-roguelike/slashem/files/0.0.7E6/Proxy.configure b/games-roguelike/slashem/files/0.0.7E6/Proxy.configure deleted file mode 100644 index 56e79cbf3fcb..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/Proxy.configure +++ /dev/null @@ -1,24 +0,0 @@ -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 deleted file mode 100644 index 8c9e362eb9ff..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/X11.configure +++ /dev/null @@ -1,18 +0,0 @@ -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 deleted file mode 100644 index 518e8d67addc..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/dot.slashemrc +++ /dev/null @@ -1,112 +0,0 @@ -# -# 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 deleted file mode 100644 index d170854f68f0..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/gentoo-paths.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- 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 deleted file mode 100644 index a3178b28d04f..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/gnome.configure +++ /dev/null @@ -1,21 +0,0 @@ -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 deleted file mode 100644 index 4f5af5534987..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/makefile.patch +++ /dev/null @@ -1,27 +0,0 @@ -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 deleted file mode 100644 index 37466c28655c..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/opengl.configure +++ /dev/null @@ -1,10 +0,0 @@ -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 deleted file mode 100644 index 803bd67a7354..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/prepare-gui.configure +++ /dev/null @@ -1,67 +0,0 @@ -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 deleted file mode 100644 index f28cdafb7b07..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/proxy.slashemrc +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 8e96c5004431..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/qt.configure +++ /dev/null @@ -1,23 +0,0 @@ -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 deleted file mode 100644 index f0c9e187ce14..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/sdl.configure +++ /dev/null @@ -1,16 +0,0 @@ -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/0.0.7E6/va_copy.patch b/games-roguelike/slashem/files/0.0.7E6/va_copy.patch deleted file mode 100644 index d24db0071050..000000000000 --- a/games-roguelike/slashem/files/0.0.7E6/va_copy.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -ur slashem-0.0.7E6F3/win/proxy/nhext.c slashem-0.0.7E6F3-new/win/proxy/nhext.c ---- slashem-0.0.7E6F3/win/proxy/nhext.c 2004-11-13 17:58:53.000000000 +0900 -+++ slashem-0.0.7E6F3-new/win/proxy/nhext.c 2005-01-03 18:53:22.169809928 +0900 -@@ -373,7 +373,11 @@ - nhext_xdr_bool_t param_b, *param_pb; - int (*param_codec)(); - void *param_addr; -+#ifdef va_copy -+ va_copy(ap, *app); -+#else - ap = *app; -+#endif - while(retval && no--) { - param = va_arg(ap, int); - switch(param) { -@@ -442,7 +446,11 @@ - break; - } - } -+#ifdef va_copy -+ va_copy(*app, ap); -+#else - *app = ap; -+#endif - return retval; - } - diff --git a/games-roguelike/slashem/files/digest-slashem-0.0.760 b/games-roguelike/slashem/files/digest-slashem-0.0.760 deleted file mode 100644 index ddd291d612cf..000000000000 --- a/games-roguelike/slashem/files/digest-slashem-0.0.760 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 c298d7083ab53298bd5107e91ea71a58 conf12s.tar.gz 4788 -RMD160 3ca60651585d2377c1eeea60dd398eae00a8ad16 conf12s.tar.gz 4788 -SHA256 76b5d0527434276db4876610651a0dc73698012b1cf93449c63a516355cd06f5 conf12s.tar.gz 4788 -MD5 20ad05ad166c764c5e50f41f7f311aea se007e6f3.tar.gz 5213184 -RMD160 4bdd871d3e0fd11b070538b3f4c644b77fb77212 se007e6f3.tar.gz 5213184 -SHA256 64ef8b5c44f006dc3201d64c0265f83080246ac890360393be2d8ba80554d24c se007e6f3.tar.gz 5213184 diff --git a/games-roguelike/slashem/slashem-0.0.760.ebuild b/games-roguelike/slashem/slashem-0.0.760.ebuild deleted file mode 100644 index dfb2e50e4c84..000000000000 --- a/games-roguelike/slashem/slashem-0.0.760.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2007 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.10 2007/04/09 20:50:51 nyhm 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 sdl opengl" - -# qt? ( =x11-libs/qt-2* ) this version has overflow bugs #79720 -RDEPEND=">=sys-libs/ncurses-5.2-r5 - X? ( 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 ) - opengl? ( virtual/opengl ) - sdl? ( media-libs/libsdl )" -DEPEND="${RDEPEND} - sys-devel/bc - dev-util/yacc" - -HACKDIR=${GAMES_STATEDIR}/${PN} -S=${WORKDIR}/slashem-${SE_FIXVER} - -src_unpack() { - unpack ${SE_PN} - cd "${S}" - epatch ${FILESDIR}/${SE_VER}/*.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 - for c in RedHat9 FHS20 Gentoo prepare-gui Proxy ; do - ./config ${c} ../.. - done - - if use X ; then - ./config X11 ../.. || die "X config" - for v in sdl opengl ; do #qt - use ${v} && { ./config ${v} ../.. || die "${v} config"; } - done - 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_get_libdir)/${PN}:" \ - Makefile || die "makefile sed" - sed -i \ - -e "s:^\(\#define FILE_AREA_UNSHARE \).*:\1\"$(games_get_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_get_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_get_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 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 - elog "You may want to look at /etc/skel/.slashemrc for interesting options" -} diff --git a/games-roguelike/slashem/slashem-0.0.772.ebuild b/games-roguelike/slashem/slashem-0.0.772.ebuild index 8d16dc5a6843..e2d9f8048e7c 100644 --- a/games-roguelike/slashem/slashem-0.0.772.ebuild +++ b/games-roguelike/slashem/slashem-0.0.772.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 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.5 2007/04/09 20:50:51 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/slashem/slashem-0.0.772.ebuild,v 1.6 2007/06/12 12:59:00 nyhm Exp $ inherit eutils flag-o-matic games @@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/slashem/${SE_PN} LICENSE="nethack" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ppc x86" IUSE="X sdl opengl" XDEPEND="x11-libs/libXaw @@ -43,13 +43,6 @@ DEPEND="${RDEPEND} 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}" @@ -100,9 +93,9 @@ src_unpack() { } src_compile() { - make all || die "make all" + emake all || die "emake all" cd "${S}"/util - make recover || die "make recover" + emake recover || die "emake recover" } src_install() { |