1 |
commit: 6cad65a0f81556b71b5f87046bac2f134b5c1d39 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 15:53:00 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 16:14:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cad65a0 |
7 |
|
8 |
games-misc/yadex: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
11 |
|
12 |
games-misc/yadex/yadex-1.7.0.ebuild | 51 ------------------------------------- |
13 |
1 file changed, 51 deletions(-) |
14 |
|
15 |
diff --git a/games-misc/yadex/yadex-1.7.0.ebuild b/games-misc/yadex/yadex-1.7.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 306f0a38eae..00000000000 |
18 |
--- a/games-misc/yadex/yadex-1.7.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,51 +0,0 @@ |
21 |
-# Copyright 1999-2015 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="A Doom level (wad) editor" |
28 |
-HOMEPAGE="http://www.teaser.fr/~amajorel/yadex/" |
29 |
-SRC_URI="http://www.teaser.fr/~amajorel/yadex/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="GPL-2" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~x86" |
34 |
-IUSE="" |
35 |
-RESTRICT="test" |
36 |
- |
37 |
-DEPEND="x11-libs/libX11" |
38 |
-RDEPEND="${DEPEND}" |
39 |
- |
40 |
-src_prepare() { |
41 |
- sed -i \ |
42 |
- -e '/iwad/s/local\///' \ |
43 |
- "${S}"/yadex.cfg \ |
44 |
- || die "sed yadex.cfg failed" |
45 |
- epatch "${FILESDIR}/${P}"-NULL-is-not-zero.patch \ |
46 |
- "${FILESDIR}/${P}"-elif.patch |
47 |
- # Force the patched file to be old, otherwise the compile fails |
48 |
- touch -t 197010101010 "${S}"/src/wadlist.cc |
49 |
- touch -t 197010101010 "${S}"/src/gfx.cc |
50 |
-} |
51 |
- |
52 |
-src_configure() { |
53 |
- # not an autoconf script |
54 |
- ./configure --prefix="/usr" || die "configure failed" |
55 |
-} |
56 |
- |
57 |
-src_compile() { |
58 |
- emake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- dogamesbin obj/0/yadex |
63 |
- insinto "${GAMES_DATADIR}/${PN}/${PV}" |
64 |
- doins ygd/* |
65 |
- doman doc/yadex.6 |
66 |
- dodoc CHANGES FAQ README TODO VERSION |
67 |
- dohtml doc/* |
68 |
- insinto /etc/yadex/${PV} |
69 |
- doins yadex.cfg |
70 |
- prepgamesdirs |
71 |
-} |