From 6d824c0f9fa9e2d6aa5b4345457880de9e6f38dd Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 19 Feb 2016 20:28:15 -0500 Subject: games-roguelike/slashem: games-roguelike/slashem is gone --- games-roguelike/slashem/Manifest | 2 - .../slashem/files/0.0.7E7/GTK.configure | 22 --- .../slashem/files/0.0.7E7/Gentoo.configure | 5 - .../slashem/files/0.0.7E7/Proxy.configure | 24 --- .../slashem/files/0.0.7E7/X11.configure | 18 --- .../slashem/files/0.0.7E7/dot.slashemrc | 112 -------------- .../slashem/files/0.0.7E7/gnome.configure | 21 --- .../slashem/files/0.0.7E7/makefile.patch | 27 ---- .../slashem/files/0.0.7E7/opengl.configure | 10 -- .../slashem/files/0.0.7E7/prepare-gui.configure | 67 -------- .../slashem/files/0.0.7E7/proxy.slashemrc | 4 - games-roguelike/slashem/files/0.0.7E7/qt.configure | 23 --- .../slashem/files/0.0.7E7/sdl.configure | 16 -- games-roguelike/slashem/metadata.xml | 11 -- games-roguelike/slashem/slashem-0.0.772.ebuild | 168 --------------------- 15 files changed, 530 deletions(-) delete mode 100644 games-roguelike/slashem/Manifest delete mode 100644 games-roguelike/slashem/files/0.0.7E7/GTK.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/Gentoo.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/Proxy.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/X11.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/dot.slashemrc delete mode 100644 games-roguelike/slashem/files/0.0.7E7/gnome.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/makefile.patch delete mode 100644 games-roguelike/slashem/files/0.0.7E7/opengl.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/prepare-gui.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/proxy.slashemrc delete mode 100644 games-roguelike/slashem/files/0.0.7E7/qt.configure delete mode 100644 games-roguelike/slashem/files/0.0.7E7/sdl.configure delete mode 100644 games-roguelike/slashem/metadata.xml delete mode 100644 games-roguelike/slashem/slashem-0.0.772.ebuild (limited to 'games-roguelike') diff --git a/games-roguelike/slashem/Manifest b/games-roguelike/slashem/Manifest deleted file mode 100644 index a4c05df8856f..000000000000 --- a/games-roguelike/slashem/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST conf12s.tar.gz 4788 SHA256 76b5d0527434276db4876610651a0dc73698012b1cf93449c63a516355cd06f5 SHA512 97a2ad0a65e43d89d7e1c4d47bcad87dcd55db83c1bb970d1625312b381ed07767669803f9c7a8b60079f131570cca9a7619401a3b11279cc6d19119ff633cb2 WHIRLPOOL 5f6c3574b1867a1b277d5cce34cb796550caf0d6eeb8266c03a774e7adee0464b09070b3018a0e5a16c86292df6b42fb01cdb052a04a68cbdf4fe31997c3cbdd -DIST se007e7f2.tar.gz 5218698 SHA256 a520817f1fe19302f27db22a9c1762c27a669f7491e84bd22790ea4f67136b49 SHA512 a156ed5c4e912aba83e6229e2d51c79efc8de3f95b48e17d6e2530733fe26865fa41da182cf8c4b15919b14147d9c1c338251b8e80ba5aea2128dbe403e09fa7 WHIRLPOOL 782c64cf31bf4e025ad3091a7d195ccfe35573537f28c1355a39276419cc47d78cd0f82f7b42825e4081e73c8bbc786c4b4a92abe6b5f2551a01fd5c9da30476 diff --git a/games-roguelike/slashem/files/0.0.7E7/GTK.configure b/games-roguelike/slashem/files/0.0.7E7/GTK.configure deleted file mode 100644 index 49c14fe6e5a0..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/Gentoo.configure b/games-roguelike/slashem/files/0.0.7E7/Gentoo.configure deleted file mode 100644 index f10d73df2893..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/Proxy.configure b/games-roguelike/slashem/files/0.0.7E7/Proxy.configure deleted file mode 100644 index 56e79cbf3fcb..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/X11.configure b/games-roguelike/slashem/files/0.0.7E7/X11.configure deleted file mode 100644 index 8c9e362eb9ff..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/dot.slashemrc b/games-roguelike/slashem/files/0.0.7E7/dot.slashemrc deleted file mode 100644 index 518e8d67addc..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/gnome.configure b/games-roguelike/slashem/files/0.0.7E7/gnome.configure deleted file mode 100644 index a3178b28d04f..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/makefile.patch b/games-roguelike/slashem/files/0.0.7E7/makefile.patch deleted file mode 100644 index 4f5af5534987..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/opengl.configure b/games-roguelike/slashem/files/0.0.7E7/opengl.configure deleted file mode 100644 index 37466c28655c..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/prepare-gui.configure b/games-roguelike/slashem/files/0.0.7E7/prepare-gui.configure deleted file mode 100644 index 803bd67a7354..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/proxy.slashemrc b/games-roguelike/slashem/files/0.0.7E7/proxy.slashemrc deleted file mode 100644 index f28cdafb7b07..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/qt.configure b/games-roguelike/slashem/files/0.0.7E7/qt.configure deleted file mode 100644 index 8e96c5004431..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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.7E7/sdl.configure b/games-roguelike/slashem/files/0.0.7E7/sdl.configure deleted file mode 100644 index f0c9e187ce14..000000000000 --- a/games-roguelike/slashem/files/0.0.7E7/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/metadata.xml b/games-roguelike/slashem/metadata.xml deleted file mode 100644 index de478ca391ca..000000000000 --- a/games-roguelike/slashem/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - - slashem - - diff --git a/games-roguelike/slashem/slashem-0.0.772.ebuild b/games-roguelike/slashem/slashem-0.0.772.ebuild deleted file mode 100644 index a8d0a2662a01..000000000000 --- a/games-roguelike/slashem/slashem-0.0.772.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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 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? ( =dev-qt/qt2* ) this version has overflow bugs #79720 -RDEPEND=">=sys-libs/ncurses-5.2-r5 - X? ( ${XDEPEND} ) - opengl? ( virtual/opengl - media-libs/libsdl ) - sdl? ( media-libs/libsdl )" -DEPEND="${RDEPEND} - dev-util/yacc" - -HACKDIR=${GAMES_STATEDIR}/${PN} -S=${WORKDIR}/slashem-${SE_FIXVER} - -src_unpack() { - unpack ${SE_PN} - cd "${S}" - EPATCH_SUFFIX="patch" - epatch "${FILESDIR}"/${SE_VER} - - # 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 - # SDL require X11 - for v in 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_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() { - emake all || die "emake all" - cd "${S}"/util - emake recover || die "emake recover" -} - -src_install() { - emake \ - 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 "emake 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 ${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 - fperms -R g+w "${HACKDIR}" -} - -pkg_postinst() { - games_pkg_postinst - elog "You may want to look at /etc/skel/.slashemrc for interesting options" -} -- cgit v1.2.3-65-gdbad