diff options
author | Sam James <sam@gentoo.org> | 2021-04-04 10:01:26 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-04 10:11:00 +0000 |
commit | aae45892f0d60c8095c1bcc6608a8c92a6b22fdd (patch) | |
tree | 28dbd76769fb44d55a0c5f0558ad0376ebe2c3c8 /games-misc | |
parent | games-misc/gBhed: port to EAPI 7, eutils--, desktop++ (diff) | |
download | gentoo-aae45892f0d60c8095c1bcc6608a8c92a6b22fdd.tar.gz gentoo-aae45892f0d60c8095c1bcc6608a8c92a6b22fdd.tar.bz2 gentoo-aae45892f0d60c8095c1bcc6608a8c92a6b22fdd.zip |
games-misc/funny-manpages: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild b/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild index 1c7c1840f266..b215501cbb20 100644 --- a/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild +++ b/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild @@ -1,27 +1,28 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils +EAPI=7 MY_R=${PV:0-1} MY_P=${PN}_${PV/_rc?/} -DESCRIPTION="funny manpages collected from various sources" +DESCRIPTION="Funny manpages collected from various sources" HOMEPAGE="https://www.debian.org/" SRC_URI="mirror://debian/pool/main/f/funny-manpages/${MY_P}.orig.tar.gz mirror://debian/pool/main/f/funny-manpages/${MY_P}-${MY_R}.diff.gz" +S="${WORKDIR}"/${MY_P/_/-}.orig LICENSE="freedist" #465704 SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~mips ~ppc64 ~s390 ~x86" -IUSE="" RDEPEND="virtual/man" -S=${WORKDIR}/${MY_P/_/-}.orig +PATCHES=( + "${WORKDIR}"/${MY_P}-${MY_R}.diff +) src_prepare() { - epatch ../${MY_P}-${MY_R}.diff + default for f in *.[0-57-9]fun ; do mv ${f} ${f/.?fun/.6fun} || die "renaming ${f} failed" |