1 |
commit: 8f8ea308d162483cefd6476ea05cd3bfe745e1a5 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Mar 28 18:31:52 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 1 10:23:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8ea308 |
7 |
|
8 |
x11-misc/xmountains: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4319 |
12 |
|
13 |
x11-misc/xmountains/xmountains-2.9.ebuild | 45 ------------------------------- |
14 |
1 file changed, 45 deletions(-) |
15 |
|
16 |
diff --git a/x11-misc/xmountains/xmountains-2.9.ebuild b/x11-misc/xmountains/xmountains-2.9.ebuild |
17 |
deleted file mode 100644 |
18 |
index 6a7c0b6cd9c..00000000000 |
19 |
--- a/x11-misc/xmountains/xmountains-2.9.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,45 +0,0 @@ |
22 |
-# Copyright 1999-2012 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=4 |
26 |
-inherit toolchain-funcs |
27 |
- |
28 |
-MY_P=${P/-/_} |
29 |
- |
30 |
-DESCRIPTION="Fractal terrains of snow-capped mountains near water" |
31 |
-HOMEPAGE="http://www.epcc.ed.ac.uk/~spb/xmountains/" |
32 |
-SRC_URI="http://www.epcc.ed.ac.uk/~spb/${PN}/${MY_P}.tar.gz" |
33 |
- |
34 |
-LICENSE="HPND" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ppc x86 ~x86-fbsd" |
37 |
-IUSE="" |
38 |
- |
39 |
-RDEPEND="x11-misc/xbitmaps |
40 |
- x11-libs/libX11" |
41 |
-DEPEND="${RDEPEND} |
42 |
- x11-proto/xproto" |
43 |
- |
44 |
-S=${WORKDIR} |
45 |
- |
46 |
-src_prepare() { |
47 |
- # add missing include for strcmp |
48 |
- sed -i xmountains.c -e '1a#include <string.h> /* strcmp() */' || die |
49 |
- # remove obsolete references to global.* |
50 |
- sed -i Makefile.alt README -e 's|global\..||g' || die |
51 |
-} |
52 |
- |
53 |
-src_compile() { |
54 |
- emake \ |
55 |
- -f Makefile.alt \ |
56 |
- CC="$(tc-getCC)" \ |
57 |
- CFLAGS="${CFLAGS}" \ |
58 |
- LDFLAGS="${LDFLAGS}" \ |
59 |
- ${PN} |
60 |
-} |
61 |
- |
62 |
-src_install() { |
63 |
- dobin ${PN} |
64 |
- dodoc README |
65 |
- newman ${PN}.man ${PN}.1 |
66 |
-} |