summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-04 08:54:19 +0000
committerSam James <sam@gentoo.org>2021-04-04 09:15:51 +0000
commit1f3a422b750048510bdd9c9039deaf711c1d62ac (patch)
treea382e7f2e5137bbef88a3768a9c20d1d4a9dd5ca /games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
parentgames-misc/fortune-mod-norbert-tretkowski: port to EAPI 7 (diff)
downloadgentoo-1f3a422b750048510bdd9c9039deaf711c1d62ac.tar.gz
gentoo-1f3a422b750048510bdd9c9039deaf711c1d62ac.tar.bz2
gentoo-1f3a422b750048510bdd9c9039deaf711c1d62ac.zip
games-misc/fortune-mod-osfortune: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild')
-rw-r--r--games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
index 4f66714592db..2c8783a0b9a3 100644
--- a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
+++ b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
@@ -1,25 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils
+EAPI=7
DESCRIPTION="Open sources fortune file"
HOMEPAGE="https://web.archive.org/web/20030803031143/http://www.dibona.com/opensources/index.shtml"
SRC_URI="https://web.archive.org/web/20030919200547/http://www.dibona.com/opensources/osfortune.tar.gz"
+S="${WORKDIR}"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
-IUSE=""
DEPEND="games-misc/fortune-mod"
RDEPEND="${DEPEND}"
-S=${WORKDIR}
+PATCHES=(
+ "${FILESDIR}"/spelling.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/spelling.patch
+ default
strfile osfortune || die
}