Skip to content

Commit

Permalink
games-misc/fortune-mod-it: port to EAPI 7
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 a711d2c commit dc8b7e6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAPI=7

DESCRIPTION="Database of the Italian cookies for the fortune program"
HOMEPAGE="http://www.fortune-it.net/"
SRC_URI="http://www.fortune-it.net/download/fortune-it-${PVR}.tar.gz"
S="${WORKDIR}"/fortune-it-${PVR}

LICENSE="freedist"
SLOT="0"
Expand All @@ -13,10 +15,12 @@ IUSE="offensive"

DEPEND="games-misc/fortune-mod"

S=${WORKDIR}/fortune-it-${PVR}

src_prepare() {
use offensive || rm -f testi/*-o
default

if ! use offensive ; then
rm -f testi/*-o || die
fi
}

src_compile() {
Expand Down

0 comments on commit dc8b7e6

Please sign in to comment.