summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-15 10:59:43 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-15 11:11:24 +0200
commit42fb1cae4b17b6d8e54f71b05ce685fe3be094ab (patch)
tree07e9bc7b1bb3869f0a120a048abbecf6d25d7a52 /games-arcade
parentgames-arcade/apricots: Stop using games.eclass (diff)
downloadgentoo-42fb1cae4b17b6d8e54f71b05ce685fe3be094ab.tar.gz
gentoo-42fb1cae4b17b6d8e54f71b05ce685fe3be094ab.tar.bz2
gentoo-42fb1cae4b17b6d8e54f71b05ce685fe3be094ab.zip
games-arcade/apricots: Drop old
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/apricots/apricots-0.2.6-r1.ebuild64
1 files changed, 0 insertions, 64 deletions
diff --git a/games-arcade/apricots/apricots-0.2.6-r1.ebuild b/games-arcade/apricots/apricots-0.2.6-r1.ebuild
deleted file mode 100644
index a67017a31fa7..000000000000
--- a/games-arcade/apricots/apricots-0.2.6-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils games
-
-DESCRIPTION="Fly a plane around bomb/shoot the enemy. Port of Planegame from Amiga"
-HOMEPAGE="http://www.fishies.org.uk/apricots.html"
-SRC_URI="http://www.fishies.org.uk/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="media-libs/libsdl[sound,video]
- media-libs/openal
- media-libs/freealut"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-freealut.patch \
- "${FILESDIR}"/${P}-ldflags.patch
-
- cp admin/acinclude.m4.in acinclude.m4
-
- sed -i \
- -e 's:-DAP_PATH=\\\\\\"$prefix.*":-DAP_PATH=\\\\\\"${GAMES_DATADIR}/${PN}/\\\\\\"":' \
- -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
- configure.in || die
- sed -i \
- -e "s:filename(AP_PATH):filename(\"${GAMES_SYSCONFDIR}/${PN}/\"):" \
- ${PN}/init.cpp || die
- sed -i \
- -e "s:apricots.cfg:${GAMES_SYSCONFDIR}/${PN}/apricots.cfg:" \
- README apricots.html || die
- sed -i \
- -e 's/-Wmissing-prototypes//' \
- acinclude.m4 || die
- eautoreconf
-}
-
-src_compile() {
- emake LIBTOOL="/usr/bin/libtool"
-}
-
-src_install() {
- dodoc AUTHORS README TODO ChangeLog
- dohtml apricots.html
- cd ${PN}
- dogamesbin apricots
- insinto "${GAMES_DATADIR}"/${PN}
- doins *.wav *.psf *.shapes
- insinto "${GAMES_SYSCONFDIR}"/${PN}
- doins apricots.cfg
- make_desktop_entry ${PN} Apricots
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "You can change the game options by editing:"
- elog "${GAMES_SYSCONFDIR}/${PN}/apricots.cfg"
-}