summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-02 20:11:00 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-02 21:27:57 +0200
commitd401c8201310ee9f74435dc747ccd29dd1a4580c (patch)
tree9b0d3890589a82c19d1726f790aa83dcf845a818 /games-strategy
parentgames-strategy/liquidwar: Stop using games.eclass (diff)
downloadgentoo-d401c8201310ee9f74435dc747ccd29dd1a4580c.tar.gz
gentoo-d401c8201310ee9f74435dc747ccd29dd1a4580c.tar.bz2
gentoo-d401c8201310ee9f74435dc747ccd29dd1a4580c.zip
games-strategy/liquidwar: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild b/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild
deleted file mode 100644
index bfbb51bdca17..000000000000
--- a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="unique multiplayer wargame"
-HOMEPAGE="http://www.ufoot.org/liquidwar/"
-SRC_URI="https://savannah.nongnu.org/download/liquidwar/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="nls"
-RESTRICT="test"
-
-RDEPEND=">=media-libs/allegro-4.2:0[X]"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-exec-stack.patch \
- "${FILESDIR}"/${P}-ovflfix.patch
- sed -i \
- -e 's:/games::' \
- -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \
- -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \
- -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \
- -e '/^INFODIR/ s/=.*/= $(infodir)/' \
- -e '/^GAMEDIR/ s/exec_prefix/bindir/' \
- -e '/install/s:-s ::' \
- -e 's:$(DOCDIR)/txt:$(DOCDIR):g' \
- -e 's:$(GMAKE):$(MAKE):' \
- -e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(PF):' Makefile.in \
- || die 'sed Makefile.in failed'
- sed -i \
- -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \
- -e 's:/games::' src/Makefile.in \
- || die "sed src/Makefile.in failed"
- epatch "${FILESDIR}"/${P}-underlink.patch
-}
-
-src_configure() {
- egamesconf \
- --disable-doc-ps \
- --disable-doc-pdf \
- --disable-target-opt \
- $(use_enable x86 asm)
-}
-
-src_compile() {
- # skip build_doc target wrt bug 460344
- emake build_bin build_data
-}
-
-src_install() {
- emake DESTDIR="${D}" install_nolink
- rm -f "${D}"/usr/share/doc/${PF}/COPYING
- use nls || rm -f "${D}"/usr/share/doc/${PF}/README.*
- prepgamesdirs
-}