From c9dd33a9b61a5911865c84e10699a16d42bfcca8 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 3 Dec 2021 23:46:24 +0000 Subject: games-misc/fortune-mod: block games-misc/fortune-mod-tao Newer versions of fortune-mod include tao. Closes: https://bugs.gentoo.org/828072 Signed-off-by: Sam James --- games-misc/fortune-mod/fortune-mod-3.6.1-r1.ebuild | 40 ++++++++++++++++++++++ games-misc/fortune-mod/fortune-mod-3.6.1.ebuild | 39 --------------------- 2 files changed, 40 insertions(+), 39 deletions(-) create mode 100644 games-misc/fortune-mod/fortune-mod-3.6.1-r1.ebuild delete mode 100644 games-misc/fortune-mod/fortune-mod-3.6.1.ebuild (limited to 'games-misc') diff --git a/games-misc/fortune-mod/fortune-mod-3.6.1-r1.ebuild b/games-misc/fortune-mod/fortune-mod-3.6.1-r1.ebuild new file mode 100644 index 000000000000..ea36d1dea4ea --- /dev/null +++ b/games-misc/fortune-mod/fortune-mod-3.6.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="The notorious fortune program" +HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/ http://www.redellipse.net/code/fortune" +SRC_URI="https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="offensive" + +DEPEND="app-text/recode:= + !games-misc/fortune-mod-tao" +RDEPEND="${DEPEND}" +BDEPEND="app-text/App-XML-DocBook-Builder" + +src_configure() { + local mycmakeargs=( + -DNO_OFFENSIVE=$(usex !offensive) + -DLOCALDIR="/usr/share/fortune" + -DCOOKIEDIR="/usr/share/fortune" + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + mkdir -p "${ED}"/usr/bin || die + mv "${ED}"/usr/games/fortune "${ED}"/usr/bin/fortune || die + rm -rf "${ED}"/usr/games || die + + dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files +} diff --git a/games-misc/fortune-mod/fortune-mod-3.6.1.ebuild b/games-misc/fortune-mod/fortune-mod-3.6.1.ebuild deleted file mode 100644 index cddefa438cae..000000000000 --- a/games-misc/fortune-mod/fortune-mod-3.6.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="The notorious fortune program" -HOMEPAGE="https://www.shlomifish.org/open-source/projects/fortune-mod/ http://www.redellipse.net/code/fortune" -SRC_URI="https://github.com/shlomif/fortune-mod/releases/download/${P}/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="offensive" - -DEPEND="app-text/recode:=" -RDEPEND="${DEPEND}" -BDEPEND="app-text/App-XML-DocBook-Builder" - -src_configure() { - local mycmakeargs=( - -DNO_OFFENSIVE=$(usex !offensive) - -DLOCALDIR="/usr/share/fortune" - -DCOOKIEDIR="/usr/share/fortune" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - mkdir -p "${ED}"/usr/bin || die - mv "${ED}"/usr/games/fortune "${ED}"/usr/bin/fortune || die - rm -rf "${ED}"/usr/games || die - - dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files -} -- cgit v1.2.3-65-gdbad