summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-01 00:52:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-01 02:03:39 +0200
commit4eba80f4806fe2f0ab57029f98262d7c33963789 (patch)
tree519e302a995d95bc479af1e97d6c2e5bf63eff2f /games-strategy
parentnet-im/minbif: einstalldocs (diff)
downloadgentoo-4eba80f4806fe2f0ab57029f98262d7c33963789.tar.gz
gentoo-4eba80f4806fe2f0ab57029f98262d7c33963789.tar.bz2
gentoo-4eba80f4806fe2f0ab57029f98262d7c33963789.zip
games-strategy/freesynd: EAPI-6 bump
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freesynd/freesynd-0.7.1-r1.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
index c787783deb41..08cdeb54329a 100644
--- a/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
+++ b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils cmake-utils gnome2-utils readme.gentoo-r1
+EAPI=6
-DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate"
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake-utils desktop gnome2-utils readme.gentoo-r1
+
+DESCRIPTION="Portable reimplementation of engine for the classic Bullfrog game, Syndicate"
HOMEPAGE="http://freesynd.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -23,9 +25,9 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+DOCS=( NEWS README INSTALL AUTHORS )
-CMAKE_IN_SOURCE_BUILD=1
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
DOC_CONTENTS="
You have to set \"data_dir = /my/path/to/synd-data\"
@@ -42,8 +44,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_with debug DEBUG)
- $(cmake-utils_use_build devtools DEV_TOOLS)
+ -DWITH_DEBUG=$(usex debug)
+ -DBUILD_DEV_TOOLS=$(usex devtools)
)
cmake-utils_src_configure
@@ -56,14 +58,10 @@ src_install() {
doins -r data
newicon -s 128 icon/sword.png ${PN}.png
make_desktop_entry ${PN}
- dodoc NEWS README INSTALL AUTHORS
+ einstalldocs
readme.gentoo_create_doc
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
if use debug ; then