summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-09-06 21:24:25 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-09-06 21:24:25 +0100
commit8d44378c078bcf7236358d775d9158dda983fd94 (patch)
tree657ba578f56a214be7eada21d9958a521e5161fb
parentgames-board/xgammon fix endgame database not found (diff)
downloadgentoo-8d44378c078bcf7236358d775d9158dda983fd94.tar.gz
gentoo-8d44378c078bcf7236358d775d9158dda983fd94.tar.bz2
gentoo-8d44378c078bcf7236358d775d9158dda983fd94.zip
games-board/xgammon: Drop old 0.98-r1
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--games-board/xgammon/files/xgammon-0.98-config.patch23
-rw-r--r--games-board/xgammon/xgammon-0.98-r1.ebuild49
2 files changed, 0 insertions, 72 deletions
diff --git a/games-board/xgammon/files/xgammon-0.98-config.patch b/games-board/xgammon/files/xgammon-0.98-config.patch
deleted file mode 100644
index 6546cd6f90a..00000000000
--- a/games-board/xgammon/files/xgammon-0.98-config.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/xgammon.ad
-+++ b/xgammon.ad
-@@ -67,4 +67,4 @@
- xgammon.buttonmove: false
- xgammon.stonesteps: 5
- xgammon.delaytime: 5
--xgammon.database: lib/xgammon.db
-+xgammon.database: /usr/lib/X11/xgammon/xgammon.db
---- a/Imakefile
-+++ b/Imakefile
-@@ -12,9 +12,9 @@
-
- ComplexProgramTarget(xgammon)
- InstallAppDefaults(XGammon)
--MakeDirectories(install, $(LIBDIR)/xgammon)
--InstallNonExec(lib/xgammon.db, $(LIBDIR)/xgammon)
--MANSUFFIX = 6
-+MakeDirectories(install,$(LIBDIR)/xgammon)
-+InstallNonExec(lib/xgammon.db,$(LIBDIR)/xgammon)
-+MANSUFFIX = 1
-
- xgammon.o: xgammon.c
- $(CC) $(CFLAGS) -DDATABASE=\"$(LIBDIR)/xgammon/xgammon.db\" -c xgammon.c
diff --git a/games-board/xgammon/xgammon-0.98-r1.ebuild b/games-board/xgammon/xgammon-0.98-r1.ebuild
deleted file mode 100644
index 9e8b8fb2d55..00000000000
--- a/games-board/xgammon/xgammon-0.98-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="very nice backgammon game for X"
-HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html"
-SRC_URI="http://fawn.unibw-hamburg.de/steuer/xgammon/Downloads/${P}a.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXt"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-text/rman
- x11-misc/imake"
-
-S="${WORKDIR}/${P}a"
-
-PATCHES=(
- "${FILESDIR}"/${P}-broken.patch
- "${FILESDIR}"/${P}-config.patch
- "${FILESDIR}"/${P}-glibc-2.32.patch
- "${FILESDIR}"/${P}-fno-common.patch
-)
-
-src_configure() {
- xmkmf || die
-}
-
-src_compile() {
- env PATH=".:${PATH}" emake \
- EXTRA_LDOPTIONS="${LDFLAGS}" \
- CDEBUGFLAGS="${CFLAGS}" \
- CC="$(tc-getCC)"
-}
-
-pkg_postinst() {
- einfo "xgammon need helvetica fonts"
- einfo "They can be loaded emerging media-fonts/font-adobe-100dpi"
- einfo "or similar. Remember to restart X after loading fonts"
-}