1 |
commit: 8d44378c078bcf7236358d775d9158dda983fd94 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 6 20:24:25 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 6 20:24:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d44378c |
7 |
|
8 |
games-board/xgammon: Drop old 0.98-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
.../xgammon/files/xgammon-0.98-config.patch | 23 ---------- |
14 |
games-board/xgammon/xgammon-0.98-r1.ebuild | 49 ---------------------- |
15 |
2 files changed, 72 deletions(-) |
16 |
|
17 |
diff --git a/games-board/xgammon/files/xgammon-0.98-config.patch b/games-board/xgammon/files/xgammon-0.98-config.patch |
18 |
deleted file mode 100644 |
19 |
index 6546cd6f90a..00000000000 |
20 |
--- a/games-board/xgammon/files/xgammon-0.98-config.patch |
21 |
+++ /dev/null |
22 |
@@ -1,23 +0,0 @@ |
23 |
---- a/xgammon.ad |
24 |
-+++ b/xgammon.ad |
25 |
-@@ -67,4 +67,4 @@ |
26 |
- xgammon.buttonmove: false |
27 |
- xgammon.stonesteps: 5 |
28 |
- xgammon.delaytime: 5 |
29 |
--xgammon.database: lib/xgammon.db |
30 |
-+xgammon.database: /usr/lib/X11/xgammon/xgammon.db |
31 |
---- a/Imakefile |
32 |
-+++ b/Imakefile |
33 |
-@@ -12,9 +12,9 @@ |
34 |
- |
35 |
- ComplexProgramTarget(xgammon) |
36 |
- InstallAppDefaults(XGammon) |
37 |
--MakeDirectories(install, $(LIBDIR)/xgammon) |
38 |
--InstallNonExec(lib/xgammon.db, $(LIBDIR)/xgammon) |
39 |
--MANSUFFIX = 6 |
40 |
-+MakeDirectories(install,$(LIBDIR)/xgammon) |
41 |
-+InstallNonExec(lib/xgammon.db,$(LIBDIR)/xgammon) |
42 |
-+MANSUFFIX = 1 |
43 |
- |
44 |
- xgammon.o: xgammon.c |
45 |
- $(CC) $(CFLAGS) -DDATABASE=\"$(LIBDIR)/xgammon/xgammon.db\" -c xgammon.c |
46 |
|
47 |
diff --git a/games-board/xgammon/xgammon-0.98-r1.ebuild b/games-board/xgammon/xgammon-0.98-r1.ebuild |
48 |
deleted file mode 100644 |
49 |
index 9e8b8fb2d55..00000000000 |
50 |
--- a/games-board/xgammon/xgammon-0.98-r1.ebuild |
51 |
+++ /dev/null |
52 |
@@ -1,49 +0,0 @@ |
53 |
-# Copyright 1999-2020 Gentoo Authors |
54 |
-# Distributed under the terms of the GNU General Public License v2 |
55 |
- |
56 |
-EAPI=7 |
57 |
- |
58 |
-inherit toolchain-funcs |
59 |
- |
60 |
-DESCRIPTION="very nice backgammon game for X" |
61 |
-HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html" |
62 |
-SRC_URI="http://fawn.unibw-hamburg.de/steuer/xgammon/Downloads/${P}a.tar.gz" |
63 |
- |
64 |
-LICENSE="GPL-2" |
65 |
-SLOT="0" |
66 |
-KEYWORDS="~amd64 ~x86" |
67 |
- |
68 |
-RDEPEND=" |
69 |
- x11-libs/libX11 |
70 |
- x11-libs/libXaw |
71 |
- x11-libs/libXt" |
72 |
-DEPEND="${RDEPEND}" |
73 |
-BDEPEND=" |
74 |
- app-text/rman |
75 |
- x11-misc/imake" |
76 |
- |
77 |
-S="${WORKDIR}/${P}a" |
78 |
- |
79 |
-PATCHES=( |
80 |
- "${FILESDIR}"/${P}-broken.patch |
81 |
- "${FILESDIR}"/${P}-config.patch |
82 |
- "${FILESDIR}"/${P}-glibc-2.32.patch |
83 |
- "${FILESDIR}"/${P}-fno-common.patch |
84 |
-) |
85 |
- |
86 |
-src_configure() { |
87 |
- xmkmf || die |
88 |
-} |
89 |
- |
90 |
-src_compile() { |
91 |
- env PATH=".:${PATH}" emake \ |
92 |
- EXTRA_LDOPTIONS="${LDFLAGS}" \ |
93 |
- CDEBUGFLAGS="${CFLAGS}" \ |
94 |
- CC="$(tc-getCC)" |
95 |
-} |
96 |
- |
97 |
-pkg_postinst() { |
98 |
- einfo "xgammon need helvetica fonts" |
99 |
- einfo "They can be loaded emerging media-fonts/font-adobe-100dpi" |
100 |
- einfo "or similar. Remember to restart X after loading fonts" |
101 |
-} |