summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-20 22:30:09 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-21 02:30:58 +0100
commitca597d746567da8af6df6fe85fe03c70e1a0ff09 (patch)
tree5d4910fc0abebfdff08030921d730ff0e8e54d5d /games-action
parentgames-action/luola: Remove old (diff)
downloadgentoo-ca597d746567da8af6df6fe85fe03c70e1a0ff09.tar.gz
gentoo-ca597d746567da8af6df6fe85fe03c70e1a0ff09.tar.bz2
gentoo-ca597d746567da8af6df6fe85fe03c70e1a0ff09.zip
games-action/maelstrom: Remove old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'games-action')
-rw-r--r--games-action/maelstrom/maelstrom-3.0.6-r2.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild b/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild
deleted file mode 100644
index da72a7c26254..000000000000
--- a/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils games
-
-MY_P=Maelstrom-${PV}
-DESCRIPTION="An asteroids battle game"
-HOMEPAGE="http://www.libsdl.org/projects/Maelstrom/"
-SRC_URI="http://www.libsdl.org/projects/Maelstrom/src/${MY_P}.tar.gz"
-
-KEYWORDS="~alpha ~amd64 ~x86"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE=""
-
-DEPEND="media-libs/libsdl[sound,joystick,video]
- media-libs/sdl-net"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-security.patch \
- "${FILESDIR}"/${P}-64bits.patch \
- "${FILESDIR}"/${P}-gcc34.patch \
- "${FILESDIR}"/${P}-warnings.patch \
- "${FILESDIR}"/${P}-gcc53.patch
-
- # Install the data into $(datadir)/..., not $(prefix)/games/...
- sed -i \
- -e "s:(prefix)/games/:(datadir)/:" configure.in || die
- sed -i \
- -e '/make install_gamedata/ { s:=:=$(DESTDIR)/:; s/make/$(MAKE)/; s/install_gamedata/install-binPROGRAMS install_gamedata/; }' Makefile.am || die
- # Install the high scores file in ${GAMES_STATEDIR}
- sed -i \
- -e "s:path.Path(MAELSTROM_SCORES):\"${GAMES_STATEDIR}/\"MAELSTROM_SCORES:" scores.cpp || die
- mv configure.{in,ac}
- rm aclocal.m4 acinclude.m4
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc Changelog README* Docs/{Maelstrom-Announce,*FAQ,MaelstromGPL_press_release,*.Paper,Technical_Notes*}
- newicon "${D}${GAMES_DATADIR}"/Maelstrom/icon.xpm maelstrom.xpm
- make_desktop_entry Maelstrom "Maelstrom" maelstrom
-
- # Put the high scores file in the right place
- insinto "${GAMES_STATEDIR}"
- doins "${D}${GAMES_DATADIR}"/Maelstrom/Maelstrom-Scores
- # clean up some cruft
- rm -f \
- "${D}${GAMES_DATADIR}"/Maelstrom/Maelstrom-Scores \
- "${D}${GAMES_DATADIR}"/Maelstrom/Images/Makefile*
- # make sure we can update the high scores
- fperms 664 "${GAMES_STATEDIR}"/Maelstrom-Scores
- prepgamesdirs
-}