Skip to content

Commit

Permalink
games-misc/fortune-mod-osfortune: port to EAPI 7, eutils--
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Apr 4, 2021
1 parent cb2b06f commit 1f3a422
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions games-misc/fortune-mod-osfortune/files/spelling.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- osfortune.orig 2004-08-18 07:40:54.000000000 -0400
+++ osfortune 2004-08-19 07:14:41.008409016 -0400
--- a/osfortune
+++ b/osfortune
@@ -15,7 +15,7 @@

-- Bruce Perens, on the future of Open Source software. (Open Sources, 1999 O'Reilly and Associates)
Expand Down
11 changes: 6 additions & 5 deletions games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

Expand Down

0 comments on commit 1f3a422

Please sign in to comment.