summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-11-08 23:20:38 +1100
committerMichael Palimaka <kensington@gentoo.org>2012-11-08 23:20:38 +1100
commit33c8127c13cca60d7a1d7601dd1e303338264108 (patch)
tree9cbaf0a25e6b3d20ef8984540872376ae4886af0 /games-fps
parent[games-rpg/egoboo] Remove package as newer version is in portage. (diff)
downloadgamerlay-33c8127c13cca60d7a1d7601dd1e303338264108.tar.gz
gamerlay-33c8127c13cca60d7a1d7601dd1e303338264108.tar.bz2
gamerlay-33c8127c13cca60d7a1d7601dd1e303338264108.zip
[games-fps/sauerbraten] Remove package as a newer version is in portage.
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/sauerbraten/ChangeLog45
-rw-r--r--games-fps/sauerbraten/Manifest23
-rw-r--r--games-fps/sauerbraten/files/sauerbraten-2009.05.04-system-enet.diff64
-rw-r--r--games-fps/sauerbraten/files/sauerbraten-2010.07.19-system-enet.diff64
-rw-r--r--games-fps/sauerbraten/files/sauerbraten-master8
-rw-r--r--games-fps/sauerbraten/files/sauerbraten.conf28
-rw-r--r--games-fps/sauerbraten/files/sauerbraten.init74
-rw-r--r--games-fps/sauerbraten/metadata.xml5
-rw-r--r--games-fps/sauerbraten/sauerbraten-2009.05.04.ebuild130
-rw-r--r--games-fps/sauerbraten/sauerbraten-2010.07.19-r1.ebuild130
10 files changed, 0 insertions, 571 deletions
diff --git a/games-fps/sauerbraten/ChangeLog b/games-fps/sauerbraten/ChangeLog
deleted file mode 100644
index 217d4cf..0000000
--- a/games-fps/sauerbraten/ChangeLog
+++ /dev/null
@@ -1,45 +0,0 @@
-# ChangeLog for games-fps/sauerbraten
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*sauerbraten-2010.07.19-r1 (29 Jul 2010)
-
- 29 Jul 2010; Jon Severinsson <jon@severinsson.net>
- -sauerbraten-2010.07.19.ebuild, +sauerbraten-2010.07.19-r1.ebuild:
- Update with new upstream tarball
-
- 22 Jul 2010; Jon Severinsson <jon@severinsson.net>
- sauerbraten-2009.05.04.ebuild:
- Update trooper edition to work with current net-libs/enet.
- This is a retrofitted sauerbraten-2010.07.19.ebuild, so carries a few other
- minor improvements.
-
-*sauerbraten-2010.07.19 (22 Jul 2010)
-
- 22 Jul 2010; Jon Severinsson <jon@severinsson.net>
- +files/sauerbraten-2010.07.19-system-enet.diff,
- +sauerbraten-2010.07.19.ebuild:
- New upstream release
-
-*sauerbraten-2009.05.04 (21 Aug 2009)
-
- 21 Aug 2009; Romain Perier <mrpouet@gentoo.org>
- +files/sauerbraten-2009.05.04-system-enet.diff, +files/sauerbraten-master,
- +files/sauerbraten.conf, +files/sauerbraten.init, +metadata.xml,
- +sauerbraten-2009.05.04.ebuild:
- Moved stable/* to ./
-
- 13 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org>
- -files/sauerbraten-2009.05.04-system-enet.diff, -files/sauerbraten-master,
- -files/sauerbraten.conf, -files/sauerbraten.init, -metadata.xml,
- -sauerbraten-2009.05.04.ebuild:
- Move to 2 folder layout where one is for devel and one for fixed things.
-
-*sauerbraten-2009.05.04 (28 Jul 2009)
-
- 28 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org>
- +files/sauerbraten-2009.05.04-system-enet.diff, +files/sauerbraten-master,
- +files/sauerbraten.conf, +files/sauerbraten.init, +metadata.xml,
- +sauerbraten-2009.05.04.ebuild:
- Initial commit of few games that i had prepared in mine overlay
-
diff --git a/games-fps/sauerbraten/Manifest b/games-fps/sauerbraten/Manifest
deleted file mode 100644
index 40187fe..0000000
--- a/games-fps/sauerbraten/Manifest
+++ /dev/null
@@ -1,23 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-DIST sauerbraten_2009_05_04_trooper_edition_linux.tar.bz2 360896105 SHA256 92cf9e2a1711626d2d31fccbf501e36805cefe40374b9b026491768209e593cc
-DIST sauerbraten_2009_06_19_patch_linux.tar.bz2 2184733 SHA256 d202bd6b2988b9f139cabb6a91b2a854c67359e02c155a138940a867f5cd9563
-DIST sauerbraten_2010_07_28_justice_edition_linux.tar.bz2 464652953 SHA256 185e5dbf41a4426af5f692e49afa69237e23976ef3b368f43ec6aa19fb3cc86c
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBCAAGBQJQlghfAAoJECZQPTSbOzNLLlYP/Rni62qX8ZqHHdELfB3vSwEJ
-F/UwP+4Ny80MfDc7Jt7twZGi+UgCnUe7DW4M/gx/ulAVlO8bPRAkF58ebHNGctDc
-dlw8BEa9W3YuqyHHCr4FKlY1B1yk4lymvg3APzdAsW2JHiZQkbDv/IefbDd1SlKJ
-gJShOtXPMvuqp1dwBaQGAYU7mmfu9YNLn7SdIi1XkmEiseKmosedAA8YIDGT8DQR
-MljqsdXW+u2DzfI3AuuDPmdSePdIG33ovOherf80uiBSGEkLxSBPLZalIOyexZ1q
-By1KLC/pU7xDJGbqaDSS5YjPxyoivLYVYrIOEEsNEl6C2iBxtYjeQYhjjxM7gPLR
-wuZtXG/ibN7ydtY3yrnTGdba/pjuiAEnhkm4Sifzml2qTWRg2KuL0LN5RACwZ+Nt
-swCkioWyiuxcKM+46effxIkcboeSnXrRRACmGHWZhZjN3gm3F8FZGe25hlTLH+1d
-T53JFu8zsADdkYRJmRCYln0ODxyTdm6n3XL6W8qfaItta6/nLzU4ACbSJCqPcrH8
-g78zCkizQl3qdOxthEH8TcRT+VRm6kESPYS0+nRbng5jM9JKdOR+IKXaa5aUigeL
-5tRoR5buXmt9lFlhGmNnYe8lWEImJtookxpeD4TaItJpiyhY51nxhvUOFLd/5GWZ
-CWmjtcWfRlOiRN3Mkx/1
-=asjL
------END PGP SIGNATURE-----
diff --git a/games-fps/sauerbraten/files/sauerbraten-2009.05.04-system-enet.diff b/games-fps/sauerbraten/files/sauerbraten-2009.05.04-system-enet.diff
deleted file mode 100644
index 418247c..0000000
--- a/games-fps/sauerbraten/files/sauerbraten-2009.05.04-system-enet.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- sauerbraten/src/Makefile
-+++ sauerbraten/src/Makefile
-@@ -4,7 +4,7 @@
- PLATFORM= $(shell uname -s)
- PLATFORM_PREFIX= native
-
--INCLUDES= -Ishared -Iengine -Ifpsgame -Ienet/include
-+INCLUDES= -Ishared -Iengine -Ifpsgame
-
- STRIP=
- ifeq (,$(findstring -g,$(CXXFLAGS)))
-@@ -18,8 +18,8 @@
- CLIENT_INCLUDES= $(INCLUDES) -Iinclude
- CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm
- else
--CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
--CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
-+CLIENT_INCLUDES= $(INCLUDES) `sdl-config --cflags`
-+CLIENT_LIBS= -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
- endif
- ifeq ($(PLATFORM),Linux)
- CLIENT_LIBS+= -lrt
-@@ -89,7 +89,7 @@
- SERVER_LIBS= -Llib -lzdll -lenet -lws2_32 -lwinmm
- else
- SERVER_INCLUDES= -DSTANDALONE $(INCLUDES)
--SERVER_LIBS= -Lenet -lenet -lz
-+SERVER_LIBS= -lenet -lz
- endif
- SERVER_OBJS= \
- shared/crypto-standalone.o \
-@@ -114,15 +114,6 @@
-
- all: client server
-
--enet/Makefile:
-- cd enet; ./configure
--
--libenet: enet/Makefile
-- $(MAKE) -C enet/ all
--
--clean-enet: enet/Makefile
-- $(MAKE) -C enet/ clean
--
- clean:
- -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) sauer_client sauer_server sauer_master
-
-@@ -157,13 +148,13 @@
-
- install: all
- else
--client: libenet $(CLIENT_OBJS)
-+client: $(CLIENT_OBJS)
- $(CXX) $(CXXFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS)
-
--server: libenet $(SERVER_OBJS)
-+server: $(SERVER_OBJS)
- $(CXX) $(CXXFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS)
-
--master: libenet $(MASTER_OBJS)
-+master: $(MASTER_OBJS)
- $(CXX) $(CXXFLAGS) -o sauer_master $(MASTER_OBJS) $(SERVER_LIBS)
-
- install: all
diff --git a/games-fps/sauerbraten/files/sauerbraten-2010.07.19-system-enet.diff b/games-fps/sauerbraten/files/sauerbraten-2010.07.19-system-enet.diff
deleted file mode 100644
index e352161..0000000
--- a/games-fps/sauerbraten/files/sauerbraten-2010.07.19-system-enet.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- sauerbraten/src/Makefile
-+++ sauerbraten/src/Makefile
-@@ -4,7 +4,7 @@ override CXXFLAGS+= -Wall -fsigned-char
- PLATFORM= $(shell uname -s)
- PLATFORM_PREFIX= native
-
--INCLUDES= -Ishared -Iengine -Ifpsgame -Ienet/include
-+INCLUDES= -Ishared -Iengine -Ifpsgame
-
- STRIP=
- ifeq (,$(findstring -g,$(CXXFLAGS)))
-@@ -20,8 +20,8 @@ WINDRES= windres
- CLIENT_INCLUDES= $(INCLUDES) -Iinclude
- CLIENT_LIBS= -mwindows -Llib -lSDL -lSDL_image -lSDL_mixer -lzdll -lopengl32 -lenet -lws2_32 -lwinmm
- else
--CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl-config --cflags`
--CLIENT_LIBS= -Lenet/.libs -lenet -L/usr/X11R6/lib `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
-+CLIENT_INCLUDES= $(INCLUDES) `sdl-config --cflags`
-+CLIENT_LIBS= -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL
- endif
- ifeq ($(PLATFORM),Linux)
- CLIENT_LIBS+= -lrt
-@@ -91,7 +91,7 @@ SERVER_INCLUDES= -DSTANDALONE $(INCLUDES
- SERVER_LIBS= -Llib -lzdll -lenet -lws2_32 -lwinmm
- else
- SERVER_INCLUDES= -DSTANDALONE $(INCLUDES)
--SERVER_LIBS= -Lenet/.libs -lenet -lz
-+SERVER_LIBS= -lenet -lz
- endif
- SERVER_OBJS= \
- shared/crypto-standalone.o \
-@@ -116,15 +116,6 @@ default: all
-
- all: client server
-
--enet/Makefile:
-- cd enet; ./configure --enable-shared=no --enable-static=yes
--
--libenet: enet/Makefile
-- $(MAKE) -C enet/ all
--
--clean-enet: enet/Makefile
-- $(MAKE) -C enet/ clean
--
- clean:
- -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) sauer_client sauer_server sauer_master
-
-@@ -159,13 +150,13 @@ master: $(MASTER_OBJS)
-
- install: all
- else
--client: libenet $(CLIENT_OBJS)
-+client: $(CLIENT_OBJS)
- $(CXX) $(CXXFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS)
-
--server: libenet $(SERVER_OBJS)
-+server: $(SERVER_OBJS)
- $(CXX) $(CXXFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS)
-
--master: libenet $(MASTER_OBJS)
-+master: $(MASTER_OBJS)
- $(CXX) $(CXXFLAGS) -o sauer_master $(MASTER_OBJS) $(SERVER_LIBS)
-
- install: all
diff --git a/games-fps/sauerbraten/files/sauerbraten-master b/games-fps/sauerbraten/files/sauerbraten-master
deleted file mode 100644
index 0a26190..0000000
--- a/games-fps/sauerbraten/files/sauerbraten-master
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-SAUER_DIR="$HOME/.%PN%/"
-if [ "$#" -ge "1" ] ; then
- SAUER_DIR="${1}/"
- shift
-fi
-[ -d "$SAUER_DIR" ] || mkdir -p "$SAUER_DIR"
-exec %LIBEXECDIR%/sauer_master "$SAUER_DIR" "$@"
diff --git a/games-fps/sauerbraten/files/sauerbraten.conf b/games-fps/sauerbraten/files/sauerbraten.conf
deleted file mode 100644
index 8d93bf6..0000000
--- a/games-fps/sauerbraten/files/sauerbraten.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-# Config file for /etc/init.d/sauerbraten
-
-# Owner of Sauerbraten server processes (must be existing)
-USER="%GAMES_USER_DED%"
-GROUP="%GAMES_GROUP%"
-
-
-# Whether to run the dedicated server
-RUNSERVER="Yes"
-
-# Location of the dedicated server config directory
-SERVERCONFIG="%SYSCONFDIR%"
-
-# Additional command line arguments to the dedicated server
-SERVERARGS=""
-
-
-# Whether to run the master server
-RUNMASTER="No"
-
-# Location of the master server config directory
-MASTERCONFIG="%SYSCONFDIR%"
-
-# What port should the masterserver use
-MASTERPORT="28787"
-
-# What ip should the masterserver bind to
-MASTERIP=""
diff --git a/games-fps/sauerbraten/files/sauerbraten.init b/games-fps/sauerbraten/files/sauerbraten.init
deleted file mode 100644
index 5aa2356..0000000
--- a/games-fps/sauerbraten/files/sauerbraten.init
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- use net
-}
-
-start() {
- [ $(echo ${RUNMASTER} | tr '[:upper:]' '[:lower:]') = "yes" ] && start_master
- [ $(echo ${RUNSERVER} | tr '[:upper:]' '[:lower:]') = "yes" ] && start_server
- true
-}
-
-start_server() {
- ebegin "Starting Sauerbraten dedicated server"
-
- # Make sure necessary parameters are set
- SERVERCONFIG="${SERVERCONFIG:-%SYSCONFDIR%}"
-
- if [ ! -d ${SERVERCONFIG} ]; then
- einfo "No ${SERVERCONFIG} around. Creating new..."
- mkdir ${SERVERCONFIG}
- chown ${USER}:${GROUP} ${SERVERCONFIG}
- fi
-
- start-stop-daemon \
- --quiet --start --chuid ${USER}:${GROUP} --chdir ${SERVERCONFIG} \
- --make-pidfile --pidfile %GAMES_STATEDIR%/run/sauerbraten/server.pid \
- --background --exec %LIBEXECDIR%/sauer_server -- ${SERVERARGS}
- eend $?
-}
-
-start_master() {
- ebegin "Starting Sauerbraten master server"
-
- # Make sure necessary parameters are set
- MASTERCONFIG="${MASTERCONFIG:-%SYSCONFDIR%}"
- [ -n "${MASTERIP}" ] && MASTERPORT="${MASTERPORT:-28787}"
- MASTERARGS="${MASTERCONFIG}/ ${MASTERPORT} ${MASTERIP}"
-
- if [ ! -d ${MASTERCONFIG} ]; then
- einfo "No ${MASTERCONFIG} around. Creating new..."
- mkdir ${MASTERCONFIG}
- chown ${USER}:${GROUP} ${MASTERCONFIG}
- fi
-
- start-stop-daemon \
- --quiet --start --chuid ${USER}:${GROUP} \
- --make-pidfile --pidfile %GAMES_STATEDIR%/run/sauerbraten/master.pid \
- --background --exec %LIBEXECDIR%/sauer_master -- ${MASTERARGS}
- eend $?
-}
-
-stop() {
- [ $(echo ${RUNSERVER} | tr '[:upper:]' '[:lower:]') = "yes" ] && stop_server
- [ $(echo ${RUNMASTER} | tr '[:upper:]' '[:lower:]') = "yes" ] && stop_master
- true
-}
-
-stop_server() {
- ebegin "Stopping Sauerbraten dedicated server"
- start-stop-daemon --stop --retry 3 --pidfile %GAMES_STATEDIR%/run/sauerbraten/server.pid
- eend $?
-}
-
-stop_master() {
- ebegin "Stopping Sauerbraten master server"
- start-stop-daemon --stop --retry 3 --pidfile %GAMES_STATEDIR%/run/sauerbraten/master.pid
- eend $?
-}
-
-restart() {
- svc_stop
- svc_start
-}
diff --git a/games-fps/sauerbraten/metadata.xml b/games-fps/sauerbraten/metadata.xml
deleted file mode 100644
index 4a5a466..0000000
--- a/games-fps/sauerbraten/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>playboys</herd>
-</pkgmetadata>
diff --git a/games-fps/sauerbraten/sauerbraten-2009.05.04.ebuild b/games-fps/sauerbraten/sauerbraten-2009.05.04.ebuild
deleted file mode 100644
index 36048df..0000000
--- a/games-fps/sauerbraten/sauerbraten-2009.05.04.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header$
-
-EAPI="2"
-inherit eutils games
-
-EDITION="trooper_edition"
-
-FILE_VERSION="${PV//./_}"
-#FILE_VERSION="2009_xx_xx"
-PATCH_VERSION="2009_06_19"
-
-DESCRIPTION="Cube 2: Sauerbraten is an open source game engine (Cube 2) with freeware game data (Sauerbraten)"
-HOMEPAGE="http://sauerbraten.org/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${FILE_VERSION}_${EDITION}_linux.tar.bz2"
-[ -z "${PATCH_VERSION}" ] || SRC_URI="${SRC_URI} mirror://sourceforge/${PN}/patch_${PATCH_VERSION}_linux.tar.bz2 -> ${PN}_${PATCH_VERSION}_patch_linux.tar.bz2"
-LICENSE="ZLIB freedist"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug dedicated doc"
-
-DEPEND="
- sys-libs/zlib
- >=net-libs/enet-1.2.2:0
- !dedicated? (
- media-libs/libsdl[X,opengl]
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-image[png,jpeg]
- )"
-
-S=${WORKDIR}/${PN}
-
-LIBEXECDIR="${GAMES_PREFIX}/libexec"
-DATADIR="${GAMES_DATADIR}/${PN}"
-SYSCONFDIR="${GAMES_SYSCONFDIR}/${PN}"
-
-src_prepare() {
- # Remove cruft
- # Not technically nessesary, but will guard against some potential trouble
- ecvs_clean
- rm -rf "${S}"/sauerbraten_unix "${S}"/bin_unix "${S}"/src/{include,lib,vcpp,enet}
-
- # Patch makefile to use system enet instead of bundled
- epatch "${FILESDIR}"/${P}-system-enet.diff
-
- # Fix links so they point to the correct directory
- sed -i "${S}"/README.html \
- -e 's:docs/::' \
- || die "sed README.html failed"
-}
-
-src_compile() {
- local builds build
- builds="master server"
- cd "${S}/src"
- use dedicated || builds+=" client"
- for build in ${builds}; do
- emake CXXFLAGS="${CXXFLAGS}$(use debug && echo " -D_DEBUG")" ${build} || die "make failed!"
- done
-}
-
-src_install() {
- if ! use dedicated ; then
- # Install the game data
- insinto "${DATADIR}"
- doins -r data packages || die "doins -r failed"
-
- # Install the client executable
- exeinto "${LIBEXECDIR}"
- doexe src/sauer_client || die "doexe failed"
-
- # Install the client wrapper
- games_make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}"
-
- # Create menu entry
- doicon "data/cube.png" || die "doicon failed"
- make_desktop_entry "${PN}-client" "Cube 2: Sauerbraten" cube "Game;ActionGame"
- fi
-
- # Install the server config files
- insinto "${SYSCONFDIR}"
- doins "server-init.cfg" || die "doins failed"
-
- # Install the server executables
- exeinto "${LIBEXECDIR}"
- doexe src/sauer_{server,master} || die "doexe failed"
-
- # Install the server wrappers
- games_make_wrapper "${PN}-server" "${LIBEXECDIR}/sauer_server -q\$HOME/.${PN}" "${SYSCONFDIR}"
- cp "${FILESDIR}"/${PN}-master "${T}"/${PN}-master
- sed -i \
- -e "s:%PN%:${PN}:g" \
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
- "${T}"/${PN}-master || die "sed failed"
- dogamesbin "${T}"/${PN}-master
-
- # Install the server init script
- keepdir "${GAMES_STATEDIR}/run/${PN}"
- cp "${FILESDIR}"/${PN}.init "${T}"
- sed -i \
- -e "s:%SYSCONFDIR%:${SYSCONFDIR}:g" \
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
- -e "s:%GAMES_STATEDIR%:${GAMES_STATEDIR}:g" \
- "${T}"/${PN}.init || die "sed failed"
- newinitd "${T}"/${PN}.init ${PN} || die "newinitd failed"
- cp "${FILESDIR}"/${PN}.conf "${T}"
- sed -i \
- -e "s:%SYSCONFDIR%:${SYSCONFDIR}:g" \
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
- -e "s:%GAMES_USER_DED%:${GAMES_USER_DED}:g" \
- -e "s:%GAMES_GROUP%:${GAMES_GROUP}:g" \
- "${T}"/${PN}.conf || die "sed failed"
- newconfd "${T}"/${PN}.conf ${PN} || die "newconfd failed"
-
- if use doc ; then
- dodoc src/*.txt docs/dev/*.txt || die "dodoc failed"
- dohtml -r README.html docs/* || die "dohtml failed"
- fi
-
- prepgamesdirs
- fowners -R ${GAMES_USER_DED} "${SYSCONFDIR}"
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
- elog "to corresponding folder in your HOME/.${PN}"
-}
diff --git a/games-fps/sauerbraten/sauerbraten-2010.07.19-r1.ebuild b/games-fps/sauerbraten/sauerbraten-2010.07.19-r1.ebuild
deleted file mode 100644
index 711bc2e..0000000
--- a/games-fps/sauerbraten/sauerbraten-2010.07.19-r1.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header$
-
-EAPI="2"
-inherit eutils games
-
-EDITION="justice_edition"
-
-#FILE_VERSION="${PV//./_}"
-FILE_VERSION="2010_07_28"
-#PATCH_VERSION="2010_xx_xx"
-
-DESCRIPTION="Cube 2: Sauerbraten is an open source game engine (Cube 2) with freeware game data (Sauerbraten)"
-HOMEPAGE="http://sauerbraten.org/"
-SRC_URI="mirror://sourceforge/${PN}/${PV//./_}/${PN}_${FILE_VERSION}_${EDITION}_linux.tar.bz2"
-[ -z "${PATCH_VERSION}" ] || SRC_URI="${SRC_URI} mirror://sourceforge/${PN}/${PV//./_}/patch_${PATCH_VERSION}_linux.tar.bz2 -> ${PN}_${PATCH_VERSION}_patch_linux.tar.bz2"
-LICENSE="ZLIB freedist"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug dedicated doc"
-
-DEPEND="
- sys-libs/zlib
- net-libs/enet:1.3
- !dedicated? (
- media-libs/libsdl[X,opengl]
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-image[png,jpeg]
- )"
-
-S=${WORKDIR}/${PN}
-
-LIBEXECDIR="${GAMES_PREFIX}/libexec"
-DATADIR="${GAMES_DATADIR}/${PN}"
-SYSCONFDIR="${GAMES_SYSCONFDIR}/${PN}"
-
-src_prepare() {
- # Remove cruft
- # Not technically nessesary, but will guard against some potential trouble
- ecvs_clean
- rm -rf "${S}"/sauerbraten_unix "${S}"/bin_unix "${S}"/src/{include,lib,vcpp,enet}
-
- # Patch makefile to use system enet instead of bundled
- epatch "${FILESDIR}"/${P}-system-enet.diff
-
- # Fix links so they point to the correct directory
- sed -i "${S}"/README.html \
- -e 's:docs/::' \
- || die "sed README.html failed"
-}
-
-src_compile() {
- local builds build
- builds="master server"
- cd "${S}/src"
- use dedicated || builds+=" client"
- for build in ${builds}; do
- emake CXXFLAGS="${CXXFLAGS}$(use debug && echo " -D_DEBUG")" ${build} || die "make failed!"
- done
-}
-
-src_install() {
- if ! use dedicated ; then
- # Install the game data
- insinto "${DATADIR}"
- doins -r data packages || die "doins -r failed"
-
- # Install the client executable
- exeinto "${LIBEXECDIR}"
- doexe src/sauer_client || die "doexe failed"
-
- # Install the client wrapper
- games_make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}"
-
- # Create menu entry
- doicon "data/cube.png" || die "doicon failed"
- make_desktop_entry "${PN}-client" "Cube 2: Sauerbraten" cube "Game;ActionGame"
- fi
-
- # Install the server config files
- insinto "${SYSCONFDIR}"
- doins "server-init.cfg" || die "doins failed"
-
- # Install the server executables
- exeinto "${LIBEXECDIR}"
- doexe src/sauer_{server,master} || die "doexe failed"
-
- # Install the server wrappers
- games_make_wrapper "${PN}-server" "${LIBEXECDIR}/sauer_server -q\$HOME/.${PN}" "${SYSCONFDIR}"
- cp "${FILESDIR}"/${PN}-master "${T}"/${PN}-master
- sed -i \
- -e "s:%PN%:${PN}:g" \
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
- "${T}"/${PN}-master || die "sed failed"
- dogamesbin "${T}"/${PN}-master
-
- # Install the server init script
- keepdir "${GAMES_STATEDIR}/run/${PN}"
- cp "${FILESDIR}"/${PN}.init "${T}"
- sed -i \
- -e "s:%SYSCONFDIR%:${SYSCONFDIR}:g" \
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
- -e "s:%GAMES_STATEDIR%:${GAMES_STATEDIR}:g" \
- "${T}"/${PN}.init || die "sed failed"
- newinitd "${T}"/${PN}.init ${PN} || die "newinitd failed"
- cp "${FILESDIR}"/${PN}.conf "${T}"
- sed -i \
- -e "s:%SYSCONFDIR%:${SYSCONFDIR}:g" \
- -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \
- -e "s:%GAMES_USER_DED%:${GAMES_USER_DED}:g" \
- -e "s:%GAMES_GROUP%:${GAMES_GROUP}:g" \
- "${T}"/${PN}.conf || die "sed failed"
- newconfd "${T}"/${PN}.conf ${PN} || die "newconfd failed"
-
- if use doc ; then
- dodoc src/*.txt docs/dev/*.txt || die "dodoc failed"
- dohtml -r README.html docs/* || die "dohtml failed"
- fi
-
- prepgamesdirs
- fowners -R ${GAMES_USER_DED} "${SYSCONFDIR}"
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- elog "If you plan to use map editor feature copy all map data from ${DATADIR}"
- elog "to corresponding folder in your HOME/.${PN}"
-}