1 |
commit: d401c8201310ee9f74435dc747ccd29dd1a4580c |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 2 18:11:00 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 2 19:27:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d401c820 |
7 |
|
8 |
games-strategy/liquidwar: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild | 60 ---------------------- |
13 |
1 file changed, 60 deletions(-) |
14 |
|
15 |
diff --git a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild b/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index bfbb51bdca1..00000000000 |
18 |
--- a/games-strategy/liquidwar/liquidwar-5.6.4-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,60 +0,0 @@ |
21 |
-# Copyright 1999-2013 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-inherit eutils games |
26 |
- |
27 |
-DESCRIPTION="unique multiplayer wargame" |
28 |
-HOMEPAGE="http://www.ufoot.org/liquidwar/" |
29 |
-SRC_URI="https://savannah.nongnu.org/download/liquidwar/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="GPL-2" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
34 |
-IUSE="nls" |
35 |
-RESTRICT="test" |
36 |
- |
37 |
-RDEPEND=">=media-libs/allegro-4.2:0[X]" |
38 |
-DEPEND="${RDEPEND}" |
39 |
- |
40 |
-src_prepare() { |
41 |
- epatch "${FILESDIR}"/${P}-exec-stack.patch \ |
42 |
- "${FILESDIR}"/${P}-ovflfix.patch |
43 |
- sed -i \ |
44 |
- -e 's:/games::' \ |
45 |
- -e '/^MANDIR/ s:=.*:= $(mandir)/man6:' \ |
46 |
- -e '/^PIXDIR/ s:=.*:= /usr/share/pixmaps:' \ |
47 |
- -e '/^DESKTOPDIR/ s:=.*:= /usr/share/applnk/Games/:' \ |
48 |
- -e '/^INFODIR/ s/=.*/= $(infodir)/' \ |
49 |
- -e '/^GAMEDIR/ s/exec_prefix/bindir/' \ |
50 |
- -e '/install/s:-s ::' \ |
51 |
- -e 's:$(DOCDIR)/txt:$(DOCDIR):g' \ |
52 |
- -e 's:$(GMAKE):$(MAKE):' \ |
53 |
- -e '/^DOCDIR/ s:=.*:= /usr/share/doc/$(PF):' Makefile.in \ |
54 |
- || die 'sed Makefile.in failed' |
55 |
- sed -i \ |
56 |
- -e '/^GAMEDIR/ s/$(exec_prefix)/@bindir@/' \ |
57 |
- -e 's:/games::' src/Makefile.in \ |
58 |
- || die "sed src/Makefile.in failed" |
59 |
- epatch "${FILESDIR}"/${P}-underlink.patch |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- egamesconf \ |
64 |
- --disable-doc-ps \ |
65 |
- --disable-doc-pdf \ |
66 |
- --disable-target-opt \ |
67 |
- $(use_enable x86 asm) |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- # skip build_doc target wrt bug 460344 |
72 |
- emake build_bin build_data |
73 |
-} |
74 |
- |
75 |
-src_install() { |
76 |
- emake DESTDIR="${D}" install_nolink |
77 |
- rm -f "${D}"/usr/share/doc/${PF}/COPYING |
78 |
- use nls || rm -f "${D}"/usr/share/doc/${PF}/README.* |
79 |
- prepgamesdirs |
80 |
-} |