summaryrefslogtreecommitdiff
path: root/games-roguelike/hengband/hengband-1.6.2-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/hengband/hengband-1.6.2-r1.ebuild')
-rw-r--r--games-roguelike/hengband/hengband-1.6.2-r1.ebuild70
1 files changed, 0 insertions, 70 deletions
diff --git a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild
deleted file mode 100644
index 8b526ce1d82e..000000000000
--- a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="An Angband variant, with a Japanese/fantasy theme"
-HOMEPAGE="https://hengband.github.io/"
-SRC_URI="mirror://sourceforge.jp/hengband/10331/${P}.tar.bz2
- mirror://gentoo/${P}-mispellings.patch.gz"
-
-LICENSE="Moria"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="X l10n_ja"
-
-RDEPEND="
- >=sys-libs/ncurses-5:0=
- X? ( x11-libs/libX11 )
-"
-DEPEND="
- ${RDEPEND}
- X? ( x11-libs/libXt )
-"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.6.2-added_faq.patch"
- "${FILESDIR}/${PN}-1.6.2-autoconf-ncurses.patch"
- "${FILESDIR}/${PN}-1.6.2-ovflfix.patch"
-)
-
-src_prepare() {
- # Removing Xaw dependency as is not used
- sed -i -e '/Xaw/d' src/main-xaw.c || die
- # Fix syntax for chown
- sed -i -e 's|root\.|root:|' lib/*/Makefile.in || die
- # Don't target the games sub-dir, since we're not using games.eclass any
- # more
- sed -i -e 's:/games/:/:g' configure.in || die
-
- default
-
- mv configure.in configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- --bindir="${EPREFIX}"/usr/bin
- --with-setgid="nobody"
- $(use_with X x)
- )
- use l10n_ja || myconf+=( --disable-japanese )
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- if use l10n_ja ; then
- dodoc readme.txt autopick.txt readme_eng.txt autopick_eng.txt
- else
- newdoc readme_eng.txt readme.txt
- newdoc autopick_eng.txt autopick.txt
- fi
-}